mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
- use encodeURI in $.load so the title/entry name can contain space
This commit is contained in:
parent
87255e8996
commit
b176da4c29
@ -38,7 +38,7 @@ $(function() {
|
||||
$.get(lastURL);
|
||||
return;
|
||||
}
|
||||
$('#hidden').load(nextURL + ' .uk-container', function(res, status, xhr){
|
||||
$('#hidden').load(encodeURI(nextURL) + ' .uk-container', function(res, status, xhr){
|
||||
if (status === 'error') console.log(xhr.statusText);
|
||||
if (status === 'success') {
|
||||
console.log(nextURL + ' loaded');
|
||||
|
Loading…
x
Reference in New Issue
Block a user