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/4722dad below:

undefined navigator on SSR (#1441) · vuematerial/vue-material@4722dad · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed Original file line number Diff line number Diff line change

@@ -55,7 +55,10 @@

55 55

return this.mdMode === 'indeterminate'

56 56

},

57 57

isIE () {

58 -

return navigator.userAgent.toLowerCase().includes('trident')

58 +

if (!this.$isServer) {

59 +

return navigator.userAgent.toLowerCase().includes('trident')

60 +

}

61 +

return false

59 62

},

60 63

progressClasses () {

61 64

let animationClass = 'md-progress-spinner-indeterminate'

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