Do not rerender the selection menu on show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
8899162463
commit
c03122fc34
|
@ -36,7 +36,6 @@
|
||||||
*/
|
*/
|
||||||
show: function(context) {
|
show: function(context) {
|
||||||
this._context = context;
|
this._context = context;
|
||||||
this.render();
|
|
||||||
this.$el.removeClass('hidden');
|
this.$el.removeClass('hidden');
|
||||||
if (window.innerWidth < 480) {
|
if (window.innerWidth < 480) {
|
||||||
this.$el.removeClass('menu-center').addClass('menu-right');
|
this.$el.removeClass('menu-center').addClass('menu-right');
|
||||||
|
|
Loading…
Reference in New Issue