Update package.json and ft-timestamp-catcher.js
This commit is contained in:
parent
9220f3d719
commit
9667d7aa37
|
@ -65,7 +65,7 @@
|
||||||
"copy-webpack-plugin": "^6.1.1",
|
"copy-webpack-plugin": "^6.1.1",
|
||||||
"css-loader": "^4.3.0",
|
"css-loader": "^4.3.0",
|
||||||
"devtron": "^1.4.0",
|
"devtron": "^1.4.0",
|
||||||
"electron": "^10.1.2",
|
"electron": "^9.3.1",
|
||||||
"electron-builder": "^22.8.1",
|
"electron-builder": "^22.8.1",
|
||||||
"electron-builder-squirrel-windows": "^22.9.1",
|
"electron-builder-squirrel-windows": "^22.9.1",
|
||||||
"electron-debug": "^3.1.0",
|
"electron-debug": "^3.1.0",
|
||||||
|
|
|
@ -20,7 +20,7 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
detectTimestamps: function (input) {
|
detectTimestamps: function (input) {
|
||||||
return input.replaceAll(/(\d+(:\d+)+)/g, '<a href="#" onclick="this.dispatchEvent(new CustomEvent(\'timestampClicked\',{bubbles:true, detail:\'$1\'}))">$1</a>')
|
return input.replace(/(\d+(:\d+)+)/g, '<a href="#" onclick="this.dispatchEvent(new CustomEvent(\'timestampClicked\',{bubbles:true, detail:\'$1\'}))">$1</a>')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue