Skip to content
Permalink
Browse files

fix(MdProgressSpinner): undefined navigator on SSR (#1441)

  • Loading branch information...
Samuell1 authored and marcosmoura committed Jan 26, 2018
1 parent 1f387c5 commit 4722dadc580ad00f499b846db404707274ddab9a
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/components/MdProgress/MdProgressSpinner/MdProgressSpinner.vue
@@ -55,7 +55,10 @@
return this.mdMode === 'indeterminate'
},
isIE () {
return navigator.userAgent.toLowerCase().includes('trident')
if (!this.$isServer) {
return navigator.userAgent.toLowerCase().includes('trident')
}
return false
},
progressClasses () {
let animationClass = 'md-progress-spinner-indeterminate'

0 comments on commit 4722dad

Please sign in to comment.
You can’t perform that action at this time.