lpatmo / cb

UPDATE: the newer version of this repo is at github.com/codebuddiesdotorg/codebuddies
http://codebuddies.org
MIT License
71 stars 30 forks source link

"Launch hangout" button disappears for events that do not have an end date #44

Closed lpatmo closed 9 years ago

lpatmo commented 9 years ago

Source of the problem: forgot to update the notExpiredEvent method in new_post_domain.html as well.

 notExpiredEvent: function () {
    if (this.scheduledEnd) {
      var notExpired = (this.scheduledEnd > Date.now()) ? true : false;
    } else {
      var notExpired = true;
    }
    return notExpired;
  },