diff options
Diffstat (limited to 'lib/scripts/compatibility.js')
-rw-r--r-- | lib/scripts/compatibility.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/scripts/compatibility.js b/lib/scripts/compatibility.js index 27347972a..13b088582 100644 --- a/lib/scripts/compatibility.js +++ b/lib/scripts/compatibility.js @@ -99,6 +99,7 @@ function findPosY(object){ function getElementsByClass(searchClass,node,tag){ DEPRECATED('Use jQuery() instead'); if(node == null) node = document; + if(typeof tag === 'undefined') tag = ''; return jQuery(node).find(tag+'.'+searchClass).toArray(); } |