Skip to content
Extraits de code Groupes Projets
Valider 7505670a rédigé par Florian Staudacher's avatar Florian Staudacher
Parcourir les fichiers

removed unnecessary js/css, since it works differently now

parent 2976f7d7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,7 +16,6 @@ app.views.Stream = Backbone.View.extend({ ...@@ -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({ ...@@ -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 ...@@ -1833,7 +1833,6 @@ ul#press_logos
.thumb .thumb
:position relative :position relative
:display none
:cursor pointer :cursor pointer
.video-overlay .video-overlay
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter