diff options
| author | mrmr1993 | 2016-02-03 15:23:02 +0000 |
|---|---|---|
| committer | mrmr1993 | 2016-02-03 15:23:02 +0000 |
| commit | acb0c7010d345a3e4918c4aa33eb1d2bf72cf8da (patch) | |
| tree | 5759919f94f3cbf4db943bc89798cfd4695cd9e7 /lib/utils.coffee | |
| parent | 674990c07422a61a702f14bfdaa8b3d2f3117f1b (diff) | |
| download | vimium-acb0c7010d345a3e4918c4aa33eb1d2bf72cf8da.tar.bz2 | |
Move help dialog into an iframe
Diffstat (limited to 'lib/utils.coffee')
| -rw-r--r-- | lib/utils.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee index c255102e..4726739b 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -7,7 +7,7 @@ Utils = isExtensionPage: -> document.location?.origin + "/" == chrome.extension.getURL "" # Returns true whenever the current page is the extension's background page. - isBackgroundPage: -> @isExtensionPage() and chrome.extension.getBackgroundPage() == window + isBackgroundPage: -> @isExtensionPage() and try chrome.extension.getBackgroundPage() == window # Takes a dot-notation object string and call the function # that it points to with the correct value for 'this'. |
