aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/adm/style/ajax.js1
-rw-r--r--phpBB/assets/javascript/core.js2
-rw-r--r--phpBB/styles/prosilver/template/ajax.js1
3 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 2725d9fa0a..9b73b618d6 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -1,5 +1,6 @@
(function($) { // Avoid conflicts with other libraries
+"use strict";
/**
* The following callbacks are for reording forums in acp_forums. forum_down
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 9c5f507bb8..742aa05115 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -3,6 +3,8 @@ phpbb.alert_time = 100;
(function($) { // Avoid conflicts with other libraries
+"use strict";
+
// define a couple constants for keydown functions.
var keymap = {
ENTER: 13,
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index bf7551b8b8..3e431a0c6e 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -1,5 +1,6 @@
(function($) { // Avoid conflicts with other libraries
+"use strict";
// This callback finds the post from the delete link, and removes it.
phpbb.add_ajax_callback('post_delete', function() {