Browse Source

fixes in set_route for null

version-14
Nabin Hait 12 years ago
parent
commit
170a819482
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/js/wn/router.js

+ 1
- 1
public/js/wn/router.js View File

@@ -72,7 +72,7 @@ wn.get_route_str = function(route) {
} }


wn.set_route = function() { wn.set_route = function() {
route = $.map(arguments, function(a) { return encodeURIComponent(a) }).join('/');
route = $.map(arguments, function(a) { return a ? encodeURIComponent(a) : null; }).join('/');
window.location.hash = route; window.location.hash = route;
// Set favicon (app.js) // Set favicon (app.js)


Loading…
Cancel
Save