mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Uses template string instead of concat strings
This commit is contained in:
@ -105,7 +105,7 @@ class ClipboardAction {
|
||||
});
|
||||
}
|
||||
else {
|
||||
this.fireEvent('error', 'Cannot complete ' + this.action + ' operation');
|
||||
this.fireEvent('error', `Cannot execute ${this.action} operation`);
|
||||
}
|
||||
|
||||
this.clearSelection();
|
||||
|
Reference in New Issue
Block a user