Skip to content

Commit

Permalink
🐛 undefined writeTextを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Jan 28, 2019
1 parent b270e15 commit fac0261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Tweet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
}),
handshaken.origin
)
} else if (navigator.permissions) {
} else if (navigator.permissions && navigator.clipboard && navigator.clipboard.writeText) {
await navigator.clipboard.writeText(copyText)
} else {
await copy(copyText)
Expand Down
2 changes: 1 addition & 1 deletion src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import isMobile from 'is-mobile'
import Visibility from 'visibilityjs'

const jsonBossesUrl = 'https://unpkg.com/gbf-data/dist/raid.json'
const gbfRaidServerUrl = 'https://v157-7-52-20.z1d20.static.cnode.jp/'
const gbfRaidServerUrl = 'http://v157-7-52-20.z1d20.static.cnode.jp/'

function fetchCache(gbfRaidServer) {
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit fac0261

Please sign in to comment.