mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Merge pull request #71 from jeffreyguo/pulls/jserror-2
Fixed issue on removing a DOM attribute
This commit is contained in:
commit
dd2f51fa74
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user