From 5d4ba0b79f322a07ef05250291e0a88217c84c7e Mon Sep 17 00:00:00 2001 From: jdescottes Date: Wed, 12 Feb 2014 00:08:52 +0100 Subject: [PATCH] Added comment --- js/service/SavedStatusService.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/service/SavedStatusService.js b/js/service/SavedStatusService.js index 2a0024f..e2445ef 100644 --- a/js/service/SavedStatusService.js +++ b/js/service/SavedStatusService.js @@ -36,6 +36,7 @@ ns.SavedStatusService.prototype.updateDirtyStatus = function (status) { var piskel = this.piskelController_.piskel; if (piskel.isDirty_ !== status) { + // Redraw piskel name only if dirty status actually changed piskel.isDirty_ = status; this.updatePiskelName(); }