From 526185baf0e1bb478e37aa9c29979e532997e87e Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 17 Aug 2011 08:29:28 +0900 Subject: あかんがな --- google-plus-commando.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'google-plus-commando.js') diff --git a/google-plus-commando.js b/google-plus-commando.js index f262a78..b44dcd0 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -829,7 +829,7 @@ let g:gplus_commando_map_menu = "m" elem.dispatchEvent(evt); } - let plusone = elem.getAttribute('g:entity').indexOf('buzz:') === 0; + let plusone = (elem.getAttribute('g:entity') || '').indexOf('buzz:') === 0; if (plusone) mouseEvent('mouseover'); action(elem, count); -- cgit v1.2.3