better demo

This commit is contained in:
nightwing 2013-07-30 00:47:09 +04:00
commit ab438f2edc
3 changed files with 48 additions and 43 deletions

View file

@ -44,7 +44,8 @@ function patch(obj, name, regexp, replacement) {
if (useragent.isIE && useragent.isIE < 10 && window.top.document.compatMode === "BackCompat")
useragent.isOldIE = true;
if (typeof document != "undefined" && !document.documentElement.querySelector) {
if (typeof document != "undefined" && !document.documentElement.querySelector) {
useragent.isOldIE = true;
var qs = function(el, selector) {
if (selector.charAt(0) == ".") {
var classNeme = selector.slice(1);
@ -103,4 +104,6 @@ patch(
}"
);
useragent.isOldIE = true;
});