From e13afb171ada085239b82525080c1a727fe24685 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 22 Oct 2015 13:59:25 -0400 Subject: [PATCH] Code simplification. --- themes/bootstrap3/js/record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js index 4acaaaf0270..da0012ab704 100644 --- a/themes/bootstrap3/js/record.js +++ b/themes/bootstrap3/js/record.js @@ -231,7 +231,7 @@ function applyRecordTabHash() // Open tag in url hash if (newTab.length > 0 && '#' + activeTab != newTab) { - $(window.location.hash.toLowerCase()).click(); + $(newTab).click(); } } -- GitLab