mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
new Error() to Error()
This commit is contained in:
parent
4303ee1908
commit
14bee5d3bd
7 changed files with 12 additions and 12 deletions
2
dev/External/ko.js
vendored
2
dev/External/ko.js
vendored
|
|
@ -107,7 +107,7 @@ Object.assign(ko.bindingHandlers, {
|
|||
const command = fValueAccessor();
|
||||
|
||||
if (!command || !command.canExecute) {
|
||||
throw new Error('Value should be a command');
|
||||
throw Error('Value should be a command');
|
||||
}
|
||||
|
||||
ko.bindingHandlers['FORM'==element.nodeName ? 'submit' : 'click'].init(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue