fixed frontend

This commit is contained in:
Harry Bomrah 2013-07-23 18:32:24 +08:00
parent 26a8be2f0f
commit 2c24e788b0
1 changed files with 11 additions and 9 deletions

View File

@ -15,6 +15,7 @@ var galleryAPI = function(){
if(g.loadArea == "theater"){
if(rcom.getInternetExplorerVersion()!=-1){
var photo_id = window.location.hash.replace("#","");
if(photo_id){
var params = rcom.getUrlVars();
var url = window.location.href.split("?")[0];
params["id"] = photo_id;
@ -29,6 +30,7 @@ var galleryAPI = function(){
}
}
}
}
this.loadAlbums = function(id){
g.albumArea.find(".rghead .rgfn a").click(function(){g.makeNewAlbum($(this).attr("href"))});