Other: Handle ESLint complaints

This commit is contained in:
June 2023-01-24 19:33:11 +01:00
commit dc7ad73db4
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
4 changed files with 9 additions and 8 deletions

View file

@ -51,10 +51,10 @@ var PrefsBoxOrderItemRow = GObject.registerClass({
const parentListBox = this.get_parent();
parentListBox.remove(this);
parentListBox.saveBoxOrderToSettings();
})
});
actionGroup.add_action(forgetAction);
this.insert_action_group(`options`, actionGroup);
this.insert_action_group("options", actionGroup);
}
onDragPrepare(_source, x, y) {
@ -72,7 +72,7 @@ var PrefsBoxOrderItemRow = GObject.registerClass({
let allocation = this.get_allocation();
dragWidget.set_size_request(allocation.width, allocation.height);
let dragPrefsBoxOrderItemRow = new PrefsBoxOrderItemRow({}, this.item)
let dragPrefsBoxOrderItemRow = new PrefsBoxOrderItemRow({}, this.item);
dragWidget.append(dragPrefsBoxOrderItemRow);
dragWidget.drag_highlight_row(dragPrefsBoxOrderItemRow);