Disabled black magic for Internet Explorer
authorAlexander Ebert <ebert@woltlab.com>
Mon, 24 Nov 2014 22:50:20 +0000 (23:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 24 Nov 2014 22:50:20 +0000 (23:50 +0100)
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/style/dropdown.less

index d409f7184615d9af35c5c40f4a0ec661f61d2a5d..c616fe4683062eeb5151a2b84bdaf0d49a3f787b 100644 (file)
@@ -1357,7 +1357,10 @@ WCF.Notification.UserPanel = WCF.UserPanel.extend({
                $items.each(function(index, item) {
                        var $item = $(item);
                        
-                       $('<a href="' + $item.data('link') + '" class="notificationItemLink" />').appendTo($item);
+                       if (!$.browser.msie) {
+                               $item.addClass('notificationItemLink');
+                               $('<a href="' + $item.data('link') + '" />').appendTo($item);
+                       }
                        
                        $item.click(function(event) {
                                if (event.target.tagName !== 'A') {
index 035237e725a436ff739a036253c37814abac4768..4a6f5e6486ce49d060ed4c0e6a469dbdb295d431 100644 (file)
                }
                
                &.notificationItem {
-                       position: relative;
-                       
                        &.groupedNotificationItem > span {
                                > div:first-child {
                                        padding: 4px 2px 2px;
                                }
                        }
                        
-                       > span {
-                               pointer-events: none;
+                       &.notificationItemLink {
                                position: relative;
-                               white-space: normal;
-                               z-index: 10;
                                
-                               a {
-                                       pointer-events: all;
+                               > span {
+                                       cursor: default;
+                                       pointer-events: none;
+                                       position: relative;
+                                       z-index: 10;
+                                       
+                                       a {
+                                               pointer-events: all;
+                                       }
+                               }
+                               
+                               > a {
+                                       bottom: 0;
+                                       left: 0;
+                                       position: absolute;
+                                       right: 0;
+                                       top: 0;
+                                       z-index: 1;
                                }
                        }
                        
-                       > a.notificationItemLink {
-                               bottom: 0;
-                               left: 0;
-                               position: absolute;
-                               right: 0;
-                               top: 0;
-                               z-index: 1;
+                       > span {
+                               cursor: pointer;
+                               white-space: normal;
                        }
                }
        }