includes/clientside/static/enano-lib-basic.js
changeset 1077 7f621a3a9cbf
parent 1070 617366710de2
child 1178 57dfbd2a614d
equal deleted inserted replaced
1076:9c364fded738 1077:7f621a3a9cbf
    50 function checkIt(string) {
    50 function checkIt(string) {
    51   place = detect.indexOf(string) + 1;
    51   place = detect.indexOf(string) + 1;
    52   thestring = string;
    52   thestring = string;
    53   return place ? true : false;
    53   return place ? true : false;
    54 }
    54 }
    55 if (checkIt('msie')) IE = true;
    55 
    56 else IE = false;
    56 var IE = checkIt('msie');
    57 
    57 var IE_8 = checkIt('msie 8.');
    58 var is_Opera = checkIt('opera') ? true : false;
    58 var is_Opera = checkIt('opera');
    59 var is_iPhone = checkIt('iphone') || checkIt('ipod');
    59 var is_iPhone = checkIt('iphone') || checkIt('ipod');
    60 var is_iPhone_3 = checkIt('iphone os 3_');
    60 var is_iPhone_3 = checkIt('iphone os 3_');
    61 var is_firefox2 = checkIt('firefox/2.');
    61 var is_firefox2 = checkIt('firefox/2.');
    62 
    62 
    63 var KILL_SWITCH = false;
    63 var KILL_SWITCH = false;