We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ada0c commit 160736dCopy full SHA for 160736d
src/index.js
@@ -1,10 +1,12 @@
1
-const $ = (e) => document.querySelector(e)
2
-const tag = ( !window.chrome && 'WebkitAppearance' in document.documentElement.style ) ? 'body' : 'html'
+let $
+let tag
3
4
export default {
5
name: 'fixed-header',
6
7
mounted () {
8
+ $ = (e) => document.querySelector(e)
9
+ tag = ( !window.chrome && 'WebkitAppearance' in document.documentElement.style ) ? 'body' : 'html'
10
this.main()
11
},
12
0 commit comments