From 00fd53f322fdec3d6c6a59c30b06621d7b83639a Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Thu, 30 Jul 2015 18:40:04 -0300 Subject: [PATCH] Revert "Added the IE lower than 8 panel warning. Still needs show dialoga logo and hide use therms" --- images/ie6-warning | 1 - index.html | 34 ---------------------------------- 2 files changed, 0 insertions(+), 35 deletions(-) delete mode 160000 images/ie6-warning diff --git a/images/ie6-warning b/images/ie6-warning deleted file mode 160000 index 3f7cca6..0000000 --- a/images/ie6-warning +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3f7cca6979c2c63bb45efc512ce771cc89bd67d8 diff --git a/index.html b/index.html index 90a9356..006c6c4 100644 --- a/index.html +++ b/index.html @@ -78,40 +78,6 @@ script_element.setAttribute('data-main', makeJSURL('js/requirejs-config.js')); head.appendChild(script_element); } - - function loadOldBrowserWarn(){ - var head = document.getElementsByTagName('head')[0]; - var script = document.createElement('script'); - var scriptLocale = document.createElement('script'); - var style = makeCSSLink('images/ie6-warning/css/ie-warning.css'); - head.appendChild(style); - - scriptLocale.type = script.type = 'text/javascript'; - script.src = makeJSURL('images/ie6-warning/warning.js'); - scriptLocale.src = makeJSURL('images/ie6-warning/localization/pt_BR.js'); - - head.appendChild(scriptLocale); - head.appendChild(script); - window.onload=function(){ - ie6Warning(function() { - var languageMap = {}; - //specifies a JSON hash table for localization - if(window.IE6WarningLocalizations) { - languageMap = window.IE6WarningLocalizations; - } - - return { - imgPath: makeJSURL("images/ie6-warning/"), //specifies the path to the icons of each browser - localizations: languageMap - }; - }); - }; - } - - if(!document.addEventListener){ - loadOldBrowserWarn(); - } - loadCSSFiles(); -- libgit2 0.21.2