Commit e5cfd653267278208f13948ad00fe8f2d6c88060

  • avatar
  • arvind
  • Sun Aug 31 13:48:29 IST 2014
Fixing UX of linked-data page.
  
727727 }});
728728 },
729729 destroy: function() {
730 this.cleanUp();
730731 this.remove();
731732
733 },
734 cleanUp: function() {
735 if(!$("#tag-cloud").is(':visible')) {
736 $("#gallery").hide();
737 $("#tag-cloud").show();
738 }
732739 }
733740 });
734741
867867 this.render();
868868 },
869869 render: function() {
870 $(this.el).html('');
870 this.setUp();
871871 _.each(this.collection, function(model) {
872872 $(this.el).append(this.template(model.toJSON()));
873873 }, this);
874 },
875 setUp: function() {
876 if(!$(this.el).is(':visible')) {
877 $(this.el).show();
878 }
879 $(this.el).html('');
880
874881 }
875882 });
876883