fixed the keystroke_urls_become_clickable.js test

This commit is contained in:
Peter 'Pita' Martischka 2012-10-06 21:45:46 +02:00
parent 7fd23c8d71
commit 35cea1e542
2 changed files with 20 additions and 15 deletions

View file

@ -98,7 +98,11 @@ var helper = {};
}}
var intervalCheck = setInterval(function(){
var passed = conditionFunc();
var passed = false;
try {
passed = conditionFunc();
} catch(e){}
if(passed){
clearInterval(intervalCheck);