Browse Source

Fix linting error

JC Brand 7 năm trước cách đây
mục cha
commit
7cf9c9ef8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      spec/chatbox.js

+ 1 - 1
spec/chatbox.js

@@ -494,7 +494,7 @@
                     _converse.visible_toolbar_buttons.call = true; // enable the button
                     test_utils.openChatBoxFor(_converse, contact_jid);
                     view = _converse.chatboxviews.get(contact_jid);
-                    var toolbar = view.el.querySelector('ul.chat-toolbar');
+                    toolbar = view.el.querySelector('ul.chat-toolbar');
                     call_button = toolbar.querySelector('.toggle-call');
                     call_button.click();
                     expect(_converse.emit).toHaveBeenCalledWith('callButtonClicked', jasmine.any(Object));