Remove IE browser sniffing and enable ordering for all browsers
authorJack Allnutt <m2ys4u@gmail.com>
Wed, 22 May 2013 09:08:47 +0000 (10:08 +0100)
committerJack Allnutt <m2ys4u@gmail.com>
Wed, 22 May 2013 09:08:47 +0000 (10:08 +0100)
client/assets/dev/applet_chanlist.js

index 97db49d5bded2ca6142e761404a791a00917bb12..3dde985b5f72bea1e77ce82f1aa51f5ed60fff4f 100644 (file)
 \r
             this.channels = [];\r
 \r
-            // Some of this code makes IE go completely crazy, so we have to browser sniff\r
-            // It's horrible, I know, but otherwise a Very Bad Thing™ will happen.\r
-            this.isIE = navigator.appName === 'Microsoft Internet Explorer';\r
-\r
             // Sort the table by num. users?\r
-            this.ordered = !this.isIE;\r
+            this.ordered = true;\r
 \r
             // Waiting to add the table back into the DOM?\r
             this.waiting = false;\r