mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
dont hide comment link when popping out
This commit is contained in:
parent
b5ca5f0bc9
commit
215e72d07c
1 changed files with 7 additions and 1 deletions
|
@ -9,8 +9,14 @@ var Template = {
|
|||
|
||||
renderComment: function(eventId) {
|
||||
var event = $('#event_'+eventId+'_actions')
|
||||
var eventForms = event.find('form')
|
||||
|
||||
if(eventForms.length > 0) {
|
||||
eventForms[0].remove()
|
||||
return false
|
||||
}
|
||||
|
||||
var rendered = this.template($('#comment-template').html(), {eventId: eventId})
|
||||
event.find('a#reply').css('display', 'none')
|
||||
event.append(rendered)
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue