[queryeditor][xs]: remove unnecessary template variable.
This commit is contained in:
@@ -34,7 +34,6 @@ my.QueryEditor = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
var tmplData = this.model.toJSON();
|
var tmplData = this.model.toJSON();
|
||||||
tmplData.to = this.model.get('from') + this.model.get('size');
|
|
||||||
var templated = Mustache.render(this.template, tmplData);
|
var templated = Mustache.render(this.template, tmplData);
|
||||||
this.el.html(templated);
|
this.el.html(templated);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user