From c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 25 Mar 2019 19:12:32 +0100 Subject: Use es6 method syntax --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 9f511cf..ce2c1e4 100644 --- a/src/index.js +++ b/src/index.js @@ -37,7 +37,7 @@ new Vue({ router, el: '#app', render: h => h(App), - mounted: function() { + mounted() { if (window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone === true) { this.$ga.event('PWA', 'started'); } -- cgit v1.3.1