Thanks for sharing the theme. Unfortunately, the modernizer that is used in Avada does not include its build link. If it had, I could have found a set of common rules the would fit both the Avada theme and the DicomSupport plugin.
So the non optimal solution I can see would be to replace the modernizr.js file of the DicomSupport plugin (in the
ext/modernizrfolder) by one that includes all the browser check rules. Open the following link and press the build button to create one: modernizrfull
The error only happens on pages where the DicomSupport plugin is because the plugin registers its modernizr and overrides the one of the theme.
I created the file and replaced it in the folder you indicated, but it still did not work, even after I purged all caches. Royalslider gallery isn’t showing yet.
I would like to thank you very much for your effort! If you have any other ideas, please let me know so I can try to fix this error.
Thank you anyway!
Argh… Does it fail with the same error in the console window?
yes… the error continues. These are the error of console window:
db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:34 Uncaught TypeError: Modernizr.mq is not a function
at setStickySidebarStatus (db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:34)
at HTMLDocument.<anonymous> (db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:34)
at i (jquery.js?ver=1.12.4:1)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:1)
at Function.ready (jquery.js?ver=1.12.4:1)
at HTMLDocument.K (jquery.js?ver=1.12.4:1)
setStickySidebarStatus @ db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:34
(anonymous) @ db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:34
i @ jquery.js?ver=1.12.4:1
fireWith @ jquery.js?ver=1.12.4:1
ready @ jquery.js?ver=1.12.4:1
K @ jquery.js?ver=1.12.4:1
db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:41 Uncaught TypeError: Modernizr.mq is not a function
at a (db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:41)
at dispatch (jquery.js?ver=1.12.4:1)
at r.handle (jquery.js?ver=1.12.4:1)
a @ db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:41
(anonymous) @ db8fab972b8029ff10c2c1726a284099.js?timestamp=1513559191:41
dispatch @ jquery.js?ver=1.12.4:1
r.handle @ jquery.js?ver=1.12.4:1
Hey! After clearing the cache is working perfectly!
Thank you very much for your attention and concern!
I just published v0.6.1 that includes a modernizr.js build as the one of dwv plus the ‘mq’ tests. I hope you like it!
- The topic ‘Next update!’ is closed to new replies.