A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/f2309b4 below:

Fix checking mouseevent in IE11 · vuematerial/vue-material@f2309b4 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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