From 29641a6f5b8cc21a4cbca18fe1a486c9cde8f1f2 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Fri, 22 Jan 2016 18:30:26 +0100 Subject: [PATCH] Fix issue with selector Refs https://stackoverflow.com/questions/13438945/jquery-tools-error-uncaught -error-syntax-error-unrecognized-expression-href --- themes/grav/js/pages-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/js/pages-all.js b/themes/grav/js/pages-all.js index 895c78c2..6dd0fcd7 100644 --- a/themes/grav/js/pages-all.js +++ b/themes/grav/js/pages-all.js @@ -280,7 +280,7 @@ $(function(){ confirm.open(); }); - $('a[href]:not([href^=#])').on('click', function(e){ + $('a[href]:not([href^="#"])').on('click', function(e){ if (root.currentValues != getState()){ e.preventDefault();