Changeset 526 for trunk


Ignore:
Timestamp:
Apr 10, 2007, 8:07:55 PM (13 years ago)
Author:
Nick Burch
Message:

Handle spaces in urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/go/index.html

    r524 r526  
    2121        if(document.location.href.indexOf("?") > -1) {
    2222                var loc = document.location.href.substring(document.location.href.indexOf("?")+1);
     23                // Decode
     24                loc = loc.replace(/%20/g, " ");
    2325
    2426                if(loc.length) {
Note: See TracChangeset for help on using the changeset viewer.