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

Loading…
Cancel
Save