removed unnecessary js/css, since it works differently now
This commit is contained in:
parent
2976f7d7d1
commit
7505670a2a
2 changed files with 0 additions and 15 deletions
|
|
@ -16,7 +16,6 @@ app.views.Stream = Backbone.View.extend({
|
|||
|
||||
setupEvents : function(){
|
||||
this.stream.bind("fetched", this.removeLoader, this)
|
||||
this.stream.bind("fetched", this.postRender, this)
|
||||
this.stream.bind("allPostsLoaded", this.unbindInfScroll, this)
|
||||
this.collection.bind("add", this.addPost, this);
|
||||
if(window.app.user()) {
|
||||
|
|
@ -54,19 +53,6 @@ app.views.Stream = Backbone.View.extend({
|
|||
return this;
|
||||
},
|
||||
|
||||
postRender: function() {
|
||||
var collElem = $(this.el).find('.collapsible');
|
||||
_.each(collElem, function(elem) {
|
||||
var elem = $(elem),
|
||||
oembed = elem.find('.oembed'),
|
||||
thumb = oembed.find('.thumb');
|
||||
|
||||
if( thumb.length > 0 /*&& oembed.is(':visible')*/ ) {
|
||||
thumb.show();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
appendLoader: function(){
|
||||
$("#paginate").html($("<img>", {
|
||||
src : "/images/static-loader.png",
|
||||
|
|
|
|||
|
|
@ -1833,7 +1833,6 @@ ul#press_logos
|
|||
|
||||
.thumb
|
||||
:position relative
|
||||
:display none
|
||||
:cursor pointer
|
||||
|
||||
.video-overlay
|
||||
|
|
|
|||
Loading…
Reference in a new issue