diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js
index 4acaaaf0270c8d6df9b2807891f75299937af73d..da0012ab7046629db51606ebb59d16403d0d38bd 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();
   }
 }