Просмотр исходного кода

init confirm also for configuration pages (#2048)

There are some actions that require confirmation also in the
configuration pages, such as delete user.
Alexandre Alapetite 7 лет назад
Родитель
Сommit
fe1f6223f9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      p/scripts/main.js

+ 1 - 1
p/scripts/main.js

@@ -1514,9 +1514,9 @@ function init_afterDOM() {
 		return;
 	}
 	init_notifications();
+	init_confirm_action();
 	$stream = $('#stream');
 	if ($stream.length > 0) {
-		init_confirm_action();
 		init_load_more($stream);
 		init_posts();
 		init_nav_entries();