small ie fix for gallery forntend after routes changed

This commit is contained in:
Harry Bomrah 2013-11-19 12:54:39 +08:00
parent 6d2043ddaf
commit 316692d1c3
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@ var galleryAPI = function(){
g = this;
this.urlVars = rcom.getUrlVars();
this.albumArea = $("#orbit_gallery");
this.loadArea = null;
this.loadArea = "theater";
this.tagList = $(".taglist ul");
this.loading = $("#loading");
// this.authenticated = false;

View File

@ -57,7 +57,6 @@
galleryAPI.prototype.locale = "<%= I18n.locale %>";
var gallery = new galleryAPI();
gallery.initialize();
gallery.loadArea = "theater";
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
</script>