aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/script.js')
-rw-r--r--src/ajax/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js
index 91c84d6f4..731f5b609 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -3,10 +3,10 @@
// Install script dataType
jQuery.ajaxSetup({
accepts: {
- script: "text/javascript, application/javascript"
+ script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
- script: /javascript/
+ script: /javascript|ecmascript/
},
converters: {
"text script": function( text ) {