Skip to content

Commit 782b03d

Browse files
author
Gabriel Schulhof
committed
Navigation: decodeURIComponent() in hash processing demo
Fixes jquery-archivegh-7816 Closes jquery-archivegh-7818
1 parent 9688afc commit 782b03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/navigation-hash-processing/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
if ( pair.length > 0 && pair[ 0 ] ) {
2828
queryParameters[ pair[ 0 ] ] =
29-
( pair.length > 1 ? pair[ 1 ] : true );
29+
( pair.length > 1 ? decodeURIComponent( pair[ 1 ] ) : true );
3030
}
3131
});
3232

0 commit comments

Comments
 (0)