Using more html5 data attributes

This commit is contained in:
Mark McDowall 2012-09-30 15:39:08 -07:00
commit a197316640
4 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@ $(function () {
// Declare a function on the chat hub so the server can invoke it
signalRProvider.updatedStatus = function (data) {
var imageSrc = '../../Content/Images/' + data.EpisodeStatus + '.png';
var row = $('tr.episodeId_' + data.EpisodeId);
var row = $('[data-episode-id="' + data.EpisodeId + '"]');
if (row.length == 0)
return;