Use ajax explicitly.

master
Jason A. Donenfeld 2011-05-13 03:53:07 -04:00
parent a97206a715
commit b979db62d4
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ $(document).ready(function() {
$("#loading").show();
$.ajax({
type: "GET",
dataType: "json",
url: "cache/" + current_album_cache + ".json",
error: die,
success: albumLoaded
@ -260,6 +261,7 @@ $(document).ready(function() {
}
$.ajax({
type: "GET",
dataType: "json",
url: "cache/" + album + ".json",
success: callback
});