Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-07-25 22:48:52 +0300
committerOlivier Paroz <github@oparoz.com>2015-07-25 22:48:52 +0300
commit296764948aeaa1d1866def6dae4fde2569514ccf (patch)
treee19f06dd046d8aa80ee60f9fffb7d7c22568d16d /js/gallerybutton.js
parent49131955ff7e0c466ee00178cd7650aa3e4e7ac5 (diff)
Remove Gallery switch in IE8
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r--js/gallerybutton.js4
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;
}