Commit 4e339ef5 authored by David Serduke's avatar David Serduke

Added feature #1934 by allowing script.charset to be set through an optional...

Added feature #1934 by allowing script.charset to be set through an optional 'scriptCharset' ajax option.
parent b264f789
......@@ -224,6 +224,8 @@ jQuery.extend({
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.src = s.url;
if (s.scriptCharset)
script.charset = s.scriptCharset;
// Handle Script loading
if ( !jsonp ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment