Simplify the cancel logic for input and display settings

Change-Id: I2afe78edad31b00a35d0589384e4091b61091275
This commit is contained in:
Nikerabbit
2013-08-29 10:35:02 +00:00
committed by Niklas Laxström
parent f14161a0cd
commit ef826e0e75
3 changed files with 14 additions and 45 deletions

View File

@@ -173,7 +173,7 @@
// Every time we show this window, make sure the current
// settings panels is upto date. So just click on active menu item.
this.$window.find( '.input-settings-block.active' ).click();
this.$window.find( '.settings-menu-items > .active' ).click();
this.position();
this.visible();
},