From 9db894f1714aa699dec3f3bdbc65bb67055d770f Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Sat, 3 Jun 2017 14:48:03 +0200 Subject: [PATCH] Fix javascript bug --- js/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/scripts.js b/js/scripts.js index a7a9ebd..1a72ac9 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -51,7 +51,7 @@ jQuery(document).ready(function($) { $this.parent().next().children('.alx-tab').stop(true,true).hide() .siblings( $this.find('a').attr('href') ).fadeIn(); e.preventDefault(); - }).children( window.location.hash ? 'a[href=' + window.location.hash + ']' : 'a:first' ).trigger('click'); + }).children( window.location.hash ? 'a[href="' + window.location.hash + '"]' : 'a:first' ).trigger('click'); })();