Add prefilter that improves jQuery AJAX
parent
6b3b3db575
commit
39fc577fd5
|
@ -13,3 +13,8 @@ var H5P = window.H5P = window.H5P || {};
|
|||
* @member
|
||||
*/
|
||||
H5P.jQuery = jQuery.noConflict(true);
|
||||
H5P.jQuery.ajaxPrefilter(function (s) {
|
||||
if (s.crossDomain) {
|
||||
s.contents.script = false;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue