The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
JavaScript error
I know jack about JavaScript, I hope someone can help me out here.
I am using lightbox and I keep getting this error when I try to load the lightbox, it worked fine yesterday but now I'm getting this error. Code:
element has no properties remove(null)prototype.js (line 877) activate()lightbox.js (line 164) bindAsEventListener(click clientX=0, clientY=0)prototype.js (line 59) [Break on this error] element.parentNode.removeChild(element); prototype.js Line 877: Code:
remove: function(element) { element = $(element); element.parentNode.removeChild(element); }, Code:
element.parentNode.removeChild(element); Code:
Function.prototype.bindAsEventListener = function(object) { var __method = this; return function(event) { return __method.call(object, event || window.event); } } Code:
return __method.call(object, event || window.event); Code:
activate: function(){ Element.remove($('lbContent')); Code:
activate: function(){ Cheers Steve |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|