aboutsummaryrefslogtreecommitdiffstats
path: root/google-plus-commando.js
diff options
context:
space:
mode:
authoranekos2011-08-31 10:44:50 +0900
committeranekos2011-08-31 10:44:50 +0900
commit38be8bf2033c5856f98d1985ba20bb73f5e9621a (patch)
tree0a2f1e078b92a8d657c1e9d8c7930a32b215452e /google-plus-commando.js
parent72bed66c97f22e7ded1c5a7c1ac243b31e774d95 (diff)
downloadvimperator-plugins-38be8bf2033c5856f98d1985ba20bb73f5e9621a.tar.bz2
Fix: Elements.dialog is undefined
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r--google-plus-commando.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js
index 99949ff..adf67d0 100644
--- a/google-plus-commando.js
+++ b/google-plus-commando.js
@@ -36,7 +36,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="GooglePlusCommando" version="2.3.2"
+ <plugin name="GooglePlusCommando" version="2.3.3"
href="http://github.com/vimpr/vimperator-plugins/blob/master/google-plus-commando.js"
summary="The handy commands for Google+"
lang="en-US"
@@ -461,7 +461,7 @@ let g:gplus_commando_map_menu = "m"
get1(doc) ||
get2() ||
get1(Elements.frames.notifications.root.contentDocument) ||
- (Elements.dialog.root && get3(Elements.dialog.root))
+ (Elements.dialog && Elements.dialog.root && get3(Elements.dialog.root))
);
},