mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 15:05:32 +00: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
|
$javascript = <<<JS
|
||||||
if ('undefined' !== typeof window.jQuery) {
|
if ('undefined' !== typeof window.jQuery) {
|
||||||
$(document).ready(function() {
|
window.jQuery(document).ready(function() {
|
||||||
window.jQuery('body').removeAttribute('data-jserrors');
|
window.jQuery('body').removeAttr('data-jserrors');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
JS;
|
JS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user