mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
Fix last commit
This commit is contained in:
parent
9ecf79e385
commit
e91b370794
|
@ -41,7 +41,7 @@
|
|||
app.boot();
|
||||
@if (! $forum->attributes->debug)
|
||||
} catch (e) {
|
||||
var nojs = window.location.indexOf('?') === -1 ? '?nojs=1' : ':nojs=1';
|
||||
var nojs = window.location.search ? '&nojs=1' : '?nojs=1';
|
||||
window.location = window.location + nojs;
|
||||
}
|
||||
@endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user