From fad1cfb0a1445e5fbc4c08f0e1bd751f8bc29107 Mon Sep 17 00:00:00 2001 From: AlexByte Date: Sun, 13 Aug 2017 03:06:25 +0300 Subject: [PATCH] Fix bookmarklet driver. --- src/drivers/bookmarklet/driver.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/bookmarklet/driver.js b/src/drivers/bookmarklet/driver.js index 230ff6aaf..28cfca9c1 100644 --- a/src/drivers/bookmarklet/driver.js +++ b/src/drivers/bookmarklet/driver.js @@ -105,9 +105,9 @@ '' + '
'; - if ( w.detected[url] != null && Object.keys(w.detected[url]).length ) { - for ( app in w.detected[url] ) { - if ( !hasOwn.call(w.detected[url], app) ) { + if ( detected[url] != null && Object.keys(detected[url]).length ) { + for ( app in detected[url] ) { + if ( !hasOwn.call(detected[url], app) ) { continue; } @@ -154,5 +154,5 @@ } }; - w.init(); + w.driver.init(); })();