mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
increase length of waitfor timeout for phantom
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
// Adapted from Modernizr
|
// Adapted from Modernizr
|
||||||
|
|
||||||
function waitFor(testFx, onReady, timeOutMillis) {
|
function waitFor(testFx, onReady, timeOutMillis) {
|
||||||
var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 3001 //< Default Max Timout is 3s
|
var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 5001 //< Default Max Timout is 5s
|
||||||
, start = new Date().getTime()
|
, start = new Date().getTime()
|
||||||
, condition = false
|
, condition = false
|
||||||
, interval = setInterval(function () {
|
, interval = setInterval(function () {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
1520
|
||||||
Reference in New Issue
Block a user