summaryrefslogtreecommitdiffstats
path: root/activePage.es
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-11-16 15:12:12 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-11-16 17:04:39 +0100
commitec301ed3cda4bd3a2976b78385cebdbd0b37883c (patch)
treed780f05c8982802cbd7189c69766b49985507f8f /activePage.es
parent8d8c0a86d5cf80e5e9a86947fe450d742f038b13 (diff)
downloadzalmy-ec301ed3cda4bd3a2976b78385cebdbd0b37883c.tar.gz
Upgrade to Babel 6 (and include module config into repo).
Diffstat (limited to 'activePage.es')
-rw-r--r--activePage.es3
1 files changed, 1 insertions, 2 deletions
diff --git a/activePage.es b/activePage.es
index 09f5ef0..9d0338c 100644
--- a/activePage.es
+++ b/activePage.es
@@ -21,7 +21,7 @@ export class ActivePage {
console.log('base_url = ' + base_url);
this.app_record = null;
- if (!!navigator.mozApps) {
+ if ('mozApps' in navigator) {
var chk_inst_req = navigator.mozApps.getSelf();
chk_inst_req.onsuccess = function(e) {
@@ -51,7 +51,6 @@ export class ActivePage {
};
}
-
document.body.addEventListener("dblclick",
() => {
console.log("dblclick");