Skip to content

Commit 2841b7d

Browse files
authored
wip
1 parent 55c2ce0 commit 2841b7d

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

apps/nuxt/app/plugins/init.client.ts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,6 @@ export default defineNuxtPlugin(async nuxtApp => {
2222
document.head.appendChild(script)
2323
})()
2424

25-
// Cloudflare
26-
;(function () {
27-
var cf = document.createElement('script')
28-
cf.src = 'https://static.cloudflareinsights.com/beacon.min.js'
29-
cf.setAttribute('data-cf-beacon', '{"token": "e5119992696d4155814400dd69781d68"}')
30-
document.head.appendChild(cf)
31-
})()
32-
33-
// google
34-
;(function () {
35-
var ana = document.createElement('script')
36-
ana.src = 'https://www.googletagmanager.com/gtag/js?id=G-50T6DRD837'
37-
ana.onload = function () {
38-
window.dataLayer = window.dataLayer || []
39-
function gtag() {
40-
window.dataLayer.push(arguments)
41-
}
42-
//@ts-ignore
43-
gtag('js', new Date())
44-
//@ts-ignore
45-
gtag('config', 'G-50T6DRD837')
46-
}
47-
document.head.appendChild(ana)
48-
})()
49-
50-
// baidu
51-
var _hmt = _hmt || []
52-
;(function () {
53-
var hm = document.createElement('script')
54-
hm.src = 'https://hm.baidu.com/hm.js?3dae52fcd5375a19905462e4ad3eb54e'
55-
document.head.appendChild(hm)
56-
})()
57-
5825
// umami-saas
5926
;(function () {
6027
var umami2 = document.createElement('script')

apps/vscode-web/src/pages/(words)/practice-words/[id].vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ useEvents([
803803
[ShortcutKey.ToggleDictation, () => (settingStore.dictation = !settingStore.dictation)],
804804
[ShortcutKey.ToggleTheme, toggleTheme],
805805
[ShortcutKey.ToggleConciseMode, toggleConciseMode],
806+
[ShortcutKey.ToggleToolbar, () => (settingStore.showToolbar = !settingStore.showToolbar)],
806807
[ShortcutKey.TogglePanel, () => (settingStore.showPanel = !settingStore.showPanel)],
807808
[ShortcutKey.RandomWrite, randomWrite],
808809
])

0 commit comments

Comments
 (0)