From 56d8b718b3fa1004bb6011103a3e609d91a58072 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Mon, 28 Dec 2020 18:37:19 +0100 Subject: [PATCH] #147 Changed regex pattern to not change anything on the airing page --- src/javascript/enhancements/timeConversion.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/javascript/enhancements/timeConversion.js b/src/javascript/enhancements/timeConversion.js index 546ec4f..4dacdd6 100644 --- a/src/javascript/enhancements/timeConversion.js +++ b/src/javascript/enhancements/timeConversion.js @@ -11,15 +11,15 @@ export function init() { if (value) { core.runAfterLoad(() => { updateTimestamps(document.documentElement); - }, ".*"); + }, "^/(?!airing).*$"); core.runAfterLocationChange(() => { updateTimestamps(document.documentElement); - }, ".*"); + }, "^/(?!airing).*$"); core.registerScript(node => { updateTimestamps(node); - }, ".*"); + }, "^/(?!airing).*$"); } }); }