Fixes lock icon selector
authorMatthias Schmidt <gravatronics@live.com>
Fri, 15 Mar 2013 13:28:39 +0000 (14:28 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 15 Mar 2013 13:28:39 +0000 (14:28 +0100)
files/js/WCF.Conversation.js

index a15c66e8504e77d5ceb07335176d76a370098736..a2716bc1f19692d7d9640fdcb0c23a56b74ba5d5 100644 (file)
@@ -188,7 +188,7 @@ WCF.Conversation.EditorHandler = Class.extend({
                        case 'open':
                                $conversation.find('.statusIcons li').each(function(index, listItem) {
                                        var $listItem = $(listItem);
-                                       if ($listItem.children('img.jsIconLock').length) {
+                                       if ($listItem.children('span.jsIconLock').length) {
                                                $listItem.remove();
                                                return false;
                                        }
@@ -279,7 +279,7 @@ WCF.Conversation.EditorHandlerConversation = WCF.Conversation.EditorHandler.exte
                        break;
                        
                        case 'open':
-                               $('#content > header img.jsIconLock').remove();
+                               $('#content > header span.jsIconLock').remove();
                                
                                this._attributes[conversationID].isClosed = 0;
                        break;