init confirm also for configuration pages (#2048)

There are some actions that require confirmation also in the
configuration pages, such as delete user.
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2018-10-14 13:59:26 +02:00
1 parent c8b54ae807
commit fe1f6223f9
1 file changed
+1 -1
+1 -1
View File
@@ -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();