Fix lock room

This commit is contained in:
yanas 2016-09-11 20:49:59 -05:00
parent 775f389e5c
commit fdf0e39516
1 changed files with 2 additions and 2 deletions

View File

@ -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");
},