summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-21 13:42:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-21 13:42:48 +0200
commitae0f20471aedbc5c9f6ab77bc5f25acc2be24641 (patch)
tree056ac6b5b655d80eac58d10a6d26afb08993668f /core
parentab8616b2f85a8bdc0224deaa06de6e55d8ed2ec2 (diff)
parent89e3860e1ab2c5528f0f63c3192f458dc290b12e (diff)
downloadnextcloud-server-ae0f20471aedbc5c9f6ab77bc5f25acc2be24641.tar.gz
nextcloud-server-ae0f20471aedbc5c9f6ab77bc5f25acc2be24641.zip
Merge pull request #19923 from owncloud/apps-donotdisplaybrokenappiconininternetexplorer
Disable app icon preview in apps page for IE
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 00a775b8027..3eafb3d9d6d 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1633,6 +1633,15 @@ OC.Util = {
},
/**
+ * Returns whether this is IE
+ *
+ * @return {bool} true if this is IE, false otherwise
+ */
+ isIE: function() {
+ return $('html').hasClass('ie');
+ },
+
+ /**
* Returns whether this is IE8
*
* @return {bool} true if this is IE8, false otherwise