dont crash with bad url

pull/1/head
Ondřej Hruška 7 years ago
parent a96b522ca8
commit c8305dea1a
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      js/appcommon.js

@ -90,6 +90,7 @@ $.ready(function () {
e.preventDefault()
})
try {
do {
let msgAt, box
// populate the form errors box from GET arg ?err=...
@ -144,6 +145,9 @@ $.ready(function () {
break
}
} while (0)
} catch (e) {
console.error(e)
}
modal.init()
notify.init()

Loading…
Cancel
Save