diff --git a/package.json b/package.json index 0e9dfab..fabb233 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "markdown-palettes", "description": "Markdown*Palettes: Markdown editor for the modern web.", - "version": "0.1.0", + "version": "0.1.1", "author": "Luogu Dev Team", "license": "MIT", "module": "src/module.js", diff --git a/src/components/toolbar-button/btn-info.js b/src/components/toolbar-button/btn-info.js index 776c244..d38fc2b 100644 --- a/src/components/toolbar-button/btn-info.js +++ b/src/components/toolbar-button/btn-info.js @@ -3,8 +3,8 @@ export default { icon: 'fa-info-circle', title: '关于', action: { - insert: function () { - window.location.href="https://github.com/luogu-dev/markdown-palettes"; + insert () { + window.location.href = 'https://github.com/luogu-dev/markdown-palettes' } } }