diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/InlineHistory/web/inline-history.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js index 9fb860e3c..40f208d57 100644 --- a/extensions/InlineHistory/web/inline-history.js +++ b/extensions/InlineHistory/web/inline-history.js @@ -302,7 +302,9 @@ var inline_history = { }, linkBugFlags: function() { - var rows = Dom.get('flags').getElementsByTagName('tr'); + var flags = Dom.get('flags'); + if (!flags) return; + var rows = flags.getElementsByTagName('tr'); for (var i = 0, il = rows.length; i < il; i++) { var cells = rows[i].getElementsByTagName('td'); if (!cells[1]) continue; |