From 4e69194e8e2317e02db41397ac640d4e16a9a0b6 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Sun, 27 Jan 2019 00:14:59 +0100 Subject: [PATCH] Update content.php --- bl-kernel/admin/views/content.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index 0cde35e5..23608b2e 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -290,7 +290,6 @@ $(document).ready(function() { }); // Open the tab defined in the URL - $('a[href="'+ window.location.hash +'"]').tab('show'); - window.scrollTo(0); + $('a[href="'+ $(location).attr('hash').slice(0,-1) +'"]').tab('show'); });