We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
code
1 parent 5bf3e9d commit 833db31Copy full SHA for 833db31
src/comments.js
@@ -93,7 +93,13 @@ class Comments {
93
const code = query.code
94
delete query.code
95
const search = Query.stringify(query)
96
- history.replaceState({}, '', `${window.location.origin}${window.location.pathname}${search}${window.location.hash}`)
+ const replacedUrl = `${window.location.origin}${window.location.pathname}${search}${window.location.hash}`
97
+ history.replaceState({}, '', replacedUrl)
98
+
99
+ Object.assign(this, {
100
+ id: replacedUrl,
101
+ link: replacedUrl,
102
+ }, options)
103
104
this.state.user.loginning = true
105
http.post('https://gh-oauth.imsun.net', {
0 commit comments