one script is conflicting with another q2w3 fixed widget plugin.
-
Hello, I love your plugin a lot. And I can’t afford to use another sharing buttons plugin in place of yours. But I have facing a problem. I want to use q2w3 plugin. A script (function onload(element,func){
if (element.addEventListener){
element.addEventListener(“load”, func, false);
}else if (element.attachEvent){
element.attachEvent(“onload”, func);
}else{
element.onload = func;
})
is conflicting with that plugin. On pages where I don’t have addtoany buttons not active, that q2w3 plugin work fine. But on those pages I am using addtoany buttons, q2w3 doesn’t work. By the help of javascript console. I came to find that above mentioned script (2nd line) is showing an error (Uncaught TypeError: Cannot read property ‘addEventListener’ of undefined). Please help me.Thanks
- The topic ‘one script is conflicting with another q2w3 fixed widget plugin.’ is closed to new replies.