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(){
|
setupEvents : function(){
|
||||||
this.stream.bind("fetched", this.removeLoader, this)
|
this.stream.bind("fetched", this.removeLoader, this)
|
||||||
this.stream.bind("fetched", this.postRender, this)
|
|
||||||
this.stream.bind("allPostsLoaded", this.unbindInfScroll, this)
|
this.stream.bind("allPostsLoaded", this.unbindInfScroll, this)
|
||||||
this.collection.bind("add", this.addPost, this);
|
this.collection.bind("add", this.addPost, this);
|
||||||
if(window.app.user()) {
|
if(window.app.user()) {
|
||||||
|
|
@ -53,19 +52,6 @@ app.views.Stream = Backbone.View.extend({
|
||||||
|
|
||||||
return this;
|
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(){
|
appendLoader: function(){
|
||||||
$("#paginate").html($("<img>", {
|
$("#paginate").html($("<img>", {
|
||||||
|
|
|
||||||
|
|
@ -1833,7 +1833,6 @@ ul#press_logos
|
||||||
|
|
||||||
.thumb
|
.thumb
|
||||||
:position relative
|
:position relative
|
||||||
:display none
|
|
||||||
:cursor pointer
|
:cursor pointer
|
||||||
|
|
||||||
.video-overlay
|
.video-overlay
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue