Ignore:
Timestamp:
Sep 23, 2010, 4:50:19 PM (14 years ago)
Author:
cljosse
Message:

[Autosize]bug with MooTools.version == "1.11" and theme sobre


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/Affiche_script.js

    r7011 r7012  
    3333            }else if( MooTools.version == "1.11") {
    3434            B = element;
    35                 if (!B) { return null; }
     35            if (!B) {
     36                if (typeof (B) == "boolean") return null;
     37                return jQuery();
     38            }
    3639                if (B.htmlElement) {
    3740                    return Garbage.collect(B);
    3841
    3942                }
    40                 if ([window, document].contains(B)) { return B; }
     43                if ([window, document].contains(B)) {
     44                return B;
     45                }
    4146                var A = $type(B);
    4247                if (A == "string") { B = document.getElementById(B); A = (B) ? "element" : false; }
Note: See TracChangeset for help on using the changeset viewer.