summaryrefslogtreecommitdiffstats
path: root/usr/local/www/themes/the_wall
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-27 01:31:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-27 01:31:25 +0000
commit18ffc13324b1821bb1679ece5fcb42b9487aaf32 (patch)
tree4835d2463a45776225b7f1d8681cec3b95a2f2a9 /usr/local/www/themes/the_wall
parenta4339e573ef9c85475dc01b26404c1511000ea41 (diff)
downloadpfsense-18ffc13324b1821bb1679ece5fcb42b9487aaf32.zip
pfsense-18ffc13324b1821bb1679ece5fcb42b9487aaf32.tar.gz
Only load IE helper if caller is IE
Diffstat (limited to 'usr/local/www/themes/the_wall')
-rw-r--r--usr/local/www/themes/the_wall/loader.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/themes/the_wall/loader.js b/usr/local/www/themes/the_wall/loader.js
index bb82b2d..08c1e82 100644
--- a/usr/local/www/themes/the_wall/loader.js
+++ b/usr/local/www/themes/the_wall/loader.js
@@ -1,4 +1,5 @@
<!--
+
var browser = '';
var version = '';
var entrance = '';
@@ -20,7 +21,7 @@ if (version == '') {
version = parseInt(whole_version);
}
-if (version < 7) {
+if (browser == 'IE' && version < 7) {
document.write('<script type="text/javascript" src="/themes/nervecenter/javascript/ie7/ie7-standard-p.js"></script>');
}
OpenPOWER on IntegriCloud