[nouns][terms][inclusive] fixes in hash handling
This commit is contained in:
parent
a4aaa59884
commit
84a4114ecf
|
@ -30,6 +30,10 @@
|
|||
return bufferNode;
|
||||
}
|
||||
|
||||
if (linkBuffer === '') {
|
||||
linkBuffer = '#' + buffer;
|
||||
}
|
||||
|
||||
if (linkBuffer.indexOf('https://') === 0
|
||||
|| linkBuffer.indexOf('http://') === 0
|
||||
|| linkBuffer.indexOf('mailto:') === 0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export default {
|
||||
methods: {
|
||||
handleHash(namespace, callback, checkAnchor = true) {
|
||||
if (!process.client || !window.location.hash) {
|
||||
if (!process.client) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue