Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another fix to the Script Path

  • Loading branch information...
commit d4e97e2bfafcdd49939fb17dd141390a16a56c84 1 parent 5ea74d4
@liquidlev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/webroot/js/script.js
View
2  app/webroot/js/script.js
@@ -42,7 +42,7 @@
var $input = $(e.currentTarget);
if( (e.type=='blur' || (e.type=='keypress' && e.which == 32)) && $input.val().length>0){
- $.ajax('/' + $input.val()).done(function(sc){
+ $.ajax('/pages/count/' + $input.val()).done(function(sc){
console.log(sc);
var sc = parseInt(sc);
var $countlabel = $input.siblings('span');
Please sign in to comment.
Something went wrong with that request. Please try again.