[ExercisePlanner] updated ExercisePlanner sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 10 Oct 2013 12:30:35 +0000 (14:30 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 10 Oct 2013 12:30:35 +0000 (14:30 +0200)
Change-Id: I55a8305e0fed931d1f29763e9a5c6a28778c73f0

js/app.js

index 4081ed8..86fe762 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -269,10 +269,8 @@ var ExercisePlanner = function () {
         * @param type
         */
        ExercisePlanner.prototype.changeTypeOfPeriods = function changeTypeOfPeriods(type) {
-               if (this.config.currentTypeOfPeriods !== type) {
                        this.config.currentTypeOfPeriods = type;
                        this.updateGraph(this.config.currentTypeOfPeriods);
-               }
        };
 
        /**