parent
05e9798027
commit
57b7debdb6
2 changed files with 1 additions and 7 deletions
|
|
@ -10,7 +10,6 @@ app.views.Content = app.views.Base.extend({
|
|||
text : app.helpers.textFormatter(this.model.get("text"), this.model.get("mentioned_people")),
|
||||
largePhoto : this.largePhoto(),
|
||||
smallPhotos : this.smallPhotos(),
|
||||
location: this.location(),
|
||||
isReshare : this.model.get("post_type") === "Reshare"
|
||||
});
|
||||
},
|
||||
|
|
@ -38,11 +37,6 @@ app.views.Content = app.views.Base.extend({
|
|||
$(evt.currentTarget).hide();
|
||||
},
|
||||
|
||||
location: function(){
|
||||
var location = this.model.get("location")? this.model.get("location") : "";
|
||||
return location;
|
||||
},
|
||||
|
||||
collapseOversized : function() {
|
||||
var collHeight = 200
|
||||
, elem = this.$(".collapsible")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
|
||||
|
||||
app.views.LocationStream = app.views.Content.extend({
|
||||
app.views.LocationStream = app.views.Base.extend({
|
||||
events: {
|
||||
"click .near-from": "toggleMap"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue