mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Fix last commit
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
app.boot();
|
app.boot();
|
||||||
@if (! $forum->attributes->debug)
|
@if (! $forum->attributes->debug)
|
||||||
} catch (e) {
|
} 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;
|
window.location = window.location + nojs;
|
||||||
}
|
}
|
||||||
@endif
|
@endif
|
||||||
|
Reference in New Issue
Block a user