From 9667d7aa37d7112a68cd40c9a0fa4ab41619bc43 Mon Sep 17 00:00:00 2001 From: Preston Date: Fri, 2 Oct 2020 10:05:41 -0400 Subject: [PATCH] Update package.json and ft-timestamp-catcher.js --- package.json | 2 +- .../components/ft-timestamp-catcher/ft-timestamp-catcher.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e31a65b0..711a8f4e 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "copy-webpack-plugin": "^6.1.1", "css-loader": "^4.3.0", "devtron": "^1.4.0", - "electron": "^10.1.2", + "electron": "^9.3.1", "electron-builder": "^22.8.1", "electron-builder-squirrel-windows": "^22.9.1", "electron-debug": "^3.1.0", diff --git a/src/renderer/components/ft-timestamp-catcher/ft-timestamp-catcher.js b/src/renderer/components/ft-timestamp-catcher/ft-timestamp-catcher.js index b66b234e..f0347179 100644 --- a/src/renderer/components/ft-timestamp-catcher/ft-timestamp-catcher.js +++ b/src/renderer/components/ft-timestamp-catcher/ft-timestamp-catcher.js @@ -20,7 +20,7 @@ export default Vue.extend({ } }, detectTimestamps: function (input) { - return input.replaceAll(/(\d+(:\d+)+)/g, '$1') + return input.replace(/(\d+(:\d+)+)/g, '$1') } } })