small ie fix for gallery forntend after routes changed
This commit is contained in:
parent
44c93c2dde
commit
6040e63034
|
@ -8,7 +8,7 @@ var galleryAPI = function(){
|
||||||
g = this;
|
g = this;
|
||||||
this.urlVars = rcom.getUrlVars();
|
this.urlVars = rcom.getUrlVars();
|
||||||
this.albumArea = $("#orbit_gallery");
|
this.albumArea = $("#orbit_gallery");
|
||||||
this.loadArea = null;
|
this.loadArea = "theater";
|
||||||
this.tagList = $(".taglist ul");
|
this.tagList = $(".taglist ul");
|
||||||
this.loading = $("#loading");
|
this.loading = $("#loading");
|
||||||
// this.authenticated = false;
|
// this.authenticated = false;
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
galleryAPI.prototype.locale = "<%= I18n.locale %>";
|
galleryAPI.prototype.locale = "<%= I18n.locale %>";
|
||||||
var gallery = new galleryAPI();
|
var gallery = new galleryAPI();
|
||||||
gallery.initialize();
|
gallery.initialize();
|
||||||
gallery.loadArea = "theater";
|
|
||||||
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
|
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Reference in New Issue