diff options
-rw-r--r-- | google-plus-commando.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |