aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.coffee')
-rw-r--r--lib/utils.coffee4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index f089f89d..8d588a43 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -1,8 +1,6 @@
Utils =
getCurrentVersion: ->
- chrome.management.get(chrome.i18n.getMessage('@@extension_id'), (info) ->
- info.version
- )
+ chrome.runtime.getManifest().version
# Takes a dot-notation object string and call the function
# that it points to with the correct value for 'this'.