From 7fe17993dc3a82235c3da71c3867533bf7bde141 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 30 Oct 2023 10:06:27 +0000 Subject: [PATCH] Intentionally throw an error when running tests in the browser --- core/modules/filters/tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/filters/tag.js b/core/modules/filters/tag.js index 951a28c6b..ea0c8cb90 100644 --- a/core/modules/filters/tag.js +++ b/core/modules/filters/tag.js @@ -52,7 +52,7 @@ exports.tag = function(source,operator,options) { } } } - return results; + return $tw.browser ? results.reverse() : results; }; })();