commit e98972e7d11b71570add7ba1c2347f4c249e43ce parent 6706b9e17252a956fdfa39fe3d47fd8be8fe33b7 Author: Marcel <MTRNord@users.noreply.github.com> Date: Sun, 13 Nov 2016 03:22:43 +0100 Update Loading Diffstat:
| M | screencap_iitc.js | | | 8 | ++------ |
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -141,12 +141,8 @@ function afterCookieLogin(IntelURL, search) { timeout: 120000, check: function () { return page.evaluate(function() { - if (document.querySelector('#percent_text').textContent == "90") { - if (!document.getElementById("loading_msg").style.display){ - return true; - }else{ - return false; - } + if (document.querySelector('.map').text.indexOf('100') != -1)) { + return true; }else{ return false; }