mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-52899' of git://github.com/timhunt/moodle
This commit is contained in:
commit
6d18da567d
@ -74,7 +74,7 @@ class behat_base extends Behat\MinkExtension\Context\RawMinkContext {
|
||||
/**
|
||||
* The JS code to check that the page is ready.
|
||||
*/
|
||||
const PAGE_READY_JS = '(M && M.util && M.util.pending_js && !Boolean(M.util.pending_js.length)) && (document.readyState === "complete")';
|
||||
const PAGE_READY_JS = '(typeof M !== "undefined" && M.util && M.util.pending_js && !Boolean(M.util.pending_js.length)) && (document.readyState === "complete")';
|
||||
|
||||
/**
|
||||
* Locates url, based on provided path.
|
||||
|
Loading…
x
Reference in New Issue
Block a user