From fdf0e39516083529ce04047abcf0076fb2c2ed39 Mon Sep 17 00:00:00 2001 From: yanas Date: Sun, 11 Sep 2016 20:49:59 -0500 Subject: [PATCH] Fix lock room --- modules/UI/toolbars/Toolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js index 5d3c6a2ec..2b6ddbbdc 100644 --- a/modules/UI/toolbars/Toolbar.js +++ b/modules/UI/toolbars/Toolbar.js @@ -379,7 +379,7 @@ const Toolbar = { */ unlockLockButton () { if ($("#toolbar_button_security").hasClass("icon-security-locked")) - UIUtil.buttonClick("#toolbar_button_security", + UIUtil.buttonClick("toolbar_button_security", "icon-security icon-security-locked"); }, @@ -388,7 +388,7 @@ const Toolbar = { */ lockLockButton () { if ($("#toolbar_button_security").hasClass("icon-security")) - UIUtil.buttonClick("#toolbar_button_security", + UIUtil.buttonClick("toolbar_button_security", "icon-security icon-security-locked"); },