Commit ab454d95 authored by jeresig's avatar jeresig

Allow # urls to contain #. Thanks to @alvopass in...

Allow # urls to contain #. Thanks to @alvopass in f9f9ee52 for the catch.
parent f9f9ee52
...@@ -10,7 +10,7 @@ var jsc = jQuery.now(), ...@@ -10,7 +10,7 @@ var jsc = jQuery.now(),
rts = /([?&])_=[^&]*(&?)/, rts = /([?&])_=[^&]*(&?)/,
rurl = /^(\w+:)?\/\/([^\/?#]+)/, rurl = /^(\w+:)?\/\/([^\/?#]+)/,
r20 = /%20/g, r20 = /%20/g,
rhash = /#[^#]*$/, rhash = /#.*$/,
// Keep a copy of the old load method // Keep a copy of the old load method
_load = jQuery.fn.load; _load = jQuery.fn.load;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment