1
0
Fork 0

Futher player view cleanup

master
Matthieu Lalonde 12 years ago
parent 84c0cdd2a5
commit eda113b6d2

@ -24,6 +24,8 @@ _
var Player = Backbone.View.extend({
el: $("body > div.ui-layout-north")
, elViewport: null
, $elViewport: null
, playIndex: []
@ -37,7 +39,12 @@ _
that.$el.html(tmplPlayerLayout);
that.$el.find("div:last").html(_.template(tmplPlayerStatus)({}));
that.elViewport = document.createElement("div");
that.$elViewport = $(that.elViewport);
that.$elViewport.html(_.template(tmplPlayerStatus)({}));
that.$el.append(that.elViewport);
return that;
}

@ -14,5 +14,4 @@
<button type="submit" tabindex="-1" class="btn"><i class="icon-search"></i></button>
<input type="text" tabindex="1" class="span3 search-query">
</div>
</form>
<div></div>
</form>
Loading…
Cancel
Save