diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/bg/js/backend.js | 4 | ||||
| -rw-r--r-- | ext/fg/js/source.js | 3 | 
2 files changed, 5 insertions, 2 deletions
| diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index ed01c8df..43fa8190 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -896,7 +896,9 @@ class Backend {                  await Backend._focusTab(tab);                  if (queryParams.query) {                      await new Promise((resolve) => chrome.tabs.sendMessage( -                        tab.id, {action: 'searchQueryUpdate', params: {text: queryParams.query}}, resolve +                        tab.id, +                        {action: 'searchQueryUpdate', params: {text: queryParams.query}}, +                        resolve                      ));                  }                  return true; diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js index 0b21b5cc..b3119d40 100644 --- a/ext/fg/js/source.js +++ b/ext/fg/js/source.js @@ -118,7 +118,8 @@ class TextSourceRange {          return !(              style.visibility === 'hidden' ||              style.display === 'none' || -            parseFloat(style.fontSize) === 0); +            parseFloat(style.fontSize) === 0 +        );      }      static getRubyElement(node) { |