Use ajax explicitly.
This commit is contained in:
parent
a97206a715
commit
b979db62d4
@ -43,6 +43,7 @@ $(document).ready(function() {
|
|||||||
$("#loading").show();
|
$("#loading").show();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
url: "cache/" + current_album_cache + ".json",
|
url: "cache/" + current_album_cache + ".json",
|
||||||
error: die,
|
error: die,
|
||||||
success: albumLoaded
|
success: albumLoaded
|
||||||
@ -260,6 +261,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
dataType: "json",
|
||||||
url: "cache/" + album + ".json",
|
url: "cache/" + album + ".json",
|
||||||
success: callback
|
success: callback
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user