diff options
author | Olivier Paroz <github@oparoz.com> | 2015-07-25 22:48:52 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-07-25 22:48:52 +0300 |
commit | 296764948aeaa1d1866def6dae4fde2569514ccf (patch) | |
tree | e19f06dd046d8aa80ee60f9fffb7d7c22568d16d /js/gallerybutton.js | |
parent | 49131955ff7e0c466ee00178cd7650aa3e4e7ac5 (diff) |
Remove Gallery switch in IE8
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r-- | js/gallerybutton.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/gallerybutton.js b/js/gallerybutton.js index 5d8b88cb..0c36df13 100644 --- a/js/gallerybutton.js +++ b/js/gallerybutton.js @@ -37,6 +37,10 @@ $(document).ready(function () { return true; //deactivate on login page } + if ($('html').is('.ie8')) { + return true; //deactivate in IE8 + } + if ($('#isPublic').val()) { GalleryButton.isPublic = true; } |