Accessing script contents with html instead of text since IE likes it better

pull/6827/head
Gregor Schmidt 14 years ago
parent c57bbfa121
commit f22c1ea224
  1. 2
      assets/javascripts/app/model.js

@ -295,7 +295,7 @@ RB.Model = (function ($) {
// execute script tags, that were attached to the sources
obj.$.filter('script').each(function () {
try {
$.globalEval($(this).text());
$.globalEval($(this).html());
}
catch (e) {
}

Loading…
Cancel
Save