Really fix JS error calling ComposerWebView::save_selection.
* ui/composer-web-view.js: Increment must be in brackets.
This commit is contained in:
parent
4f33fb288a
commit
67762f22cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue