From 296764948aeaa1d1866def6dae4fde2569514ccf Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Sat, 25 Jul 2015 21:48:52 +0200 Subject: Remove Gallery switch in IE8 --- js/gallerybutton.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/gallerybutton.js') 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; } -- cgit v1.2.3