diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-09-29 17:55:27 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-09-29 17:55:27 -0400 |
| commit | cc5393678f3acd8ff16af6863a903b1064502895 (patch) | |
| tree | 84aaec51bb30e217662b1e96d371da90f6a3bd8a | |
| parent | 151e0764e6973c8af6d87c1c9dee34a37efaa773 (diff) | |
fix spinning
| -rw-r--r-- | public/assets/javascripts/ui/site/ProjectList.js | 4 | ||||
| -rw-r--r-- | views/projects/list-projects.ejs | 8 |
2 files changed, 2 insertions, 10 deletions
diff --git a/public/assets/javascripts/ui/site/ProjectList.js b/public/assets/javascripts/ui/site/ProjectList.js index ee1b89f..993d805 100644 --- a/public/assets/javascripts/ui/site/ProjectList.js +++ b/public/assets/javascripts/ui/site/ProjectList.js @@ -4,8 +4,8 @@ var ProjectList = View.extend({ el: ".projectList", events: { - "mouseenter td.border": 'spinOn', - "mouseleave td.border": 'spinOff', + "mouseenter .room": 'spinOn', + "mouseleave .room": 'spinOff', }, initialize: function(){ diff --git a/views/projects/list-projects.ejs b/views/projects/list-projects.ejs index 3801e30..537d409 100644 --- a/views/projects/list-projects.ejs +++ b/views/projects/list-projects.ejs @@ -4,15 +4,7 @@ [[ projects.forEach(function(project, i) { ]] - [[ if (i % 4 == 1) { ]] - - [[ } ]] - - [[ if (i == 0) { ]] - <span class="room"> - [[ } else { ]] <span class="room"> - [[ } ]] <iframe src="/project/[[- project.slug ]]/view?noui=1&mute=1" class="embed"></iframe> [[ if (String(user._id) == String(project.user_id)) { ]] <a href="/project/[[- project.slug ]]/edit"><div class="editBtn">edit</div></a> |
