style(playlist): improves variable name

This commit is contained in:
bergquist 2016-01-18 14:58:46 +01:00
parent 88e9161e57
commit 568832c5af

View File

@ -19,7 +19,9 @@ class PlaylistSrv {
angular.element(window).unbind('resize');
if (this.index > this.dashboards.length -1) {
var playedAllDashboards = this.index > this.dashboards.length - 1;
if (playedAllDashboards) {
this.start(this.playlistId);
} else {
var dash = this.dashboards[this.index];