+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@
52
52
watch: {
53
53
mdActive (active) {
54
54
const isBoolean = typeof active === 'boolean'
55
-
const isEvent = active.constructor.toString().match(/function (\w*)/)[1].toLowerCase() === 'mouseevent'
55
+
const isEvent = active instanceof MouseEvent
56
56
57
57
if (isBoolean && this.mdCentered && active) {
58
58
this.startRipple({
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4