Merge pull request #71 from jeffreyguo/pulls/jserror-2

Fixed issue on removing a DOM attribute
This commit is contained in:
Ingo Schommer 2014-09-09 08:18:09 +12:00
commit dd2f51fa74

View File

@ -115,8 +115,8 @@ JS;
$javascript = <<<JS
if ('undefined' !== typeof window.jQuery) {
$(document).ready(function() {
window.jQuery('body').removeAttribute('data-jserrors');
window.jQuery(document).ready(function() {
window.jQuery('body').removeAttr('data-jserrors');
});
}
JS;