Closed carlwgeorge closed 2 years ago
I applied this pull request as a patch on my package, and it gives me an error.
Aug 27 23:46:02 teal gnome-shell[2041]: JS ERROR: Extension mediacontrols@cliffniff.github.com: SyntaxError: lexical declarations can't appear in single-statement context @ /usr/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/extension.js:214
Any suggestions for how to correct this?
The brackets are missing in the if statements. Ill fix it. Thanks for the work!
Roughly adapted from how emoji-selector does this.
Fixes #2