Fix issue with selector

Refs
https://stackoverflow.com/questions/13438945/jquery-tools-error-uncaught
-error-syntax-error-unrecognized-expression-href
This commit is contained in:
Flavio Copes
2016-01-22 18:30:26 +01:00
parent d0e87bddb1
commit 29641a6f5b

View File

@@ -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();