GiveToken / GiftBox

Repository for Sizzle
0 stars 0 forks source link

Container present when no videos #1119

Closed shreydesai closed 8 years ago

shreydesai commented 8 years ago

Description

Similar to #1095. When all existing video thumbnails are removed, the container that holds the videos, namely #company-video-container, is still present.

screen shot 2016-07-15 at 9 58 10 am

Expected behavior

The container that holds the videos remains after all video thumbnails have been removed.

Actual behavior

The container that holds the videos should disappear if all video thumbnails have been removed. There should be some function that fires after the remove button to check if $('#company-video-container').children().length === 0.

Steps to reproduce

  1. Add a video from YouTube
  2. Remove the video after the thumbnail appears
  3. The container still remains

    Location (computer/mobile)

Mac OS X, Chrome

shreydesai commented 8 years ago

@wogsland You can add me as the assignee for this issue. I'll have a PR sometime today.