[SSE mobile] removed ES6 features
This commit is contained in:
parent
e1991660d7
commit
16d34bc887
|
@ -101,11 +101,11 @@ define([
|
|||
this.editorView = this.createView('Editor').render();
|
||||
|
||||
$$(window).on('resize', _.bind(this.onWindowResize, this));
|
||||
Common.NotificationCenter.on('layout:changed', (source, args) => {
|
||||
Common.NotificationCenter.on('layout:changed', function(source, args) {
|
||||
if ( source == 'navbar' ) {
|
||||
this.editorView.$el.find('.page.editor')[args.hidden?'addClass':'removeClass']('no-padding');
|
||||
}
|
||||
});
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
onWindowResize: function(e) {
|
||||
|
|
|
@ -106,7 +106,7 @@ define([
|
|||
},
|
||||
|
||||
addSheet: function(model) {
|
||||
let index = this.$boxTabs.children().length;
|
||||
var index = this.$boxTabs.children().length;
|
||||
var $item = $(this.tabtemplate({
|
||||
'label': model.get('name')
|
||||
})).appendTo(this.$boxTabs)
|
||||
|
|
Loading…
Reference in a new issue