mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 16:40:04 +02:00
fix admin toast
This commit is contained in:
@@ -163,7 +163,7 @@ app.onDomReady();
|
||||
// need to preload the compiled alert template
|
||||
// otherwise it can be unloaded when rebuild & restart is run
|
||||
// the client can't fetch the template file, resulting in an error
|
||||
benchpress.render('alert', {}).then(function () {
|
||||
benchpress.render('partials/toast', {}).then(function () {
|
||||
$('.rebuild-and-restart').off('click').on('click', function () {
|
||||
bootbox.confirm('[[admin/admin:alert.confirm-rebuild-and-restart]]', function (confirm) {
|
||||
if (confirm) {
|
||||
|
||||
Reference in New Issue
Block a user