From f09da04c8a4e1b3dd951c0410dd13be866857ec5 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 8 Jan 2012 17:43:58 -0800 Subject: [PATCH] add tooltips to stream faces [ci skip] --- app/views/templates/stream_faces.jst | 4 ++-- public/javascripts/app/views/stream_faces_view.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/templates/stream_faces.jst b/app/views/templates/stream_faces.jst index fb59576c4..687793d5b 100644 --- a/app/views/templates/stream_faces.jst +++ b/app/views/templates/stream_faces.jst @@ -1,5 +1,5 @@ <% _.each(people, function(person) { %> - - + + <% }) %> diff --git a/public/javascripts/app/views/stream_faces_view.js b/public/javascripts/app/views/stream_faces_view.js index 7bd1427ae..d0979cd8a 100644 --- a/public/javascripts/app/views/stream_faces_view.js +++ b/public/javascripts/app/views/stream_faces_view.js @@ -2,6 +2,10 @@ app.views.StreamFaces = app.views.Base.extend({ template_name : "#stream-faces-template", + className : "stream-faces", + + tooltipSelector : ".avatar", + initialize : function(){ this.updatePeople() this.collection.bind("add", this.updatePeople, this)