mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -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);
|
$.get(lastURL);
|
||||||
return;
|
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 === 'error') console.log(xhr.statusText);
|
||||||
if (status === 'success') {
|
if (status === 'success') {
|
||||||
console.log(nextURL + ' loaded');
|
console.log(nextURL + ' loaded');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user