Really fix JS error calling ComposerWebView::save_selection.

* ui/composer-web-view.js: Increment must be in brackets.
This commit is contained in:
Michael James Gratton 2017-01-30 15:40:58 +11:00
parent 4f33fb288a
commit 67762f22cb

View file

@ -138,7 +138,7 @@ ComposerPageState.prototype = {
this.checkCommandStack();
},
saveSelection: function() {
let id = ++this.nextSelectionId.toString();
let id = (++this.nextSelectionId).toString();
this.selections.set(id, SelectionUtil.save());
return id;
},