[ExercisePlanner] updated ExercisePlanner sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 10 Oct 2013 06:47:11 +0000 (08:47 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 10 Oct 2013 06:47:11 +0000 (08:47 +0200)
Change-Id: I51571426091923f572660ebe6fd17b8e8b8f68bf

css/style.css
js/UI.js
js/app.js

index 1ef2a4c..a2ffa15 100644 (file)
@@ -1,3 +1,7 @@
+body {
+       -webkit-user-select: none;
+}
+
 #one {
        background-image: url('../images/background.png');
 }
index 1ae4333..e4a2afa 100644 (file)
--- a/js/UI.js
+++ b/js/UI.js
@@ -347,6 +347,7 @@ function UI() {
 
                $('#startStop').on('click', function () {
                        self.app.appStartStop();
+                       $('#startStop').blur();
                });
 
                window.addEventListener('tizenhwkey', function(e) {
index b343319..4081ed8 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -57,7 +57,7 @@ var ExercisePlanner = function () {
                        /**
                         * List of generate available exercises;
                         */
-                       availableExercises: null,
+                       availableExercises: [],
 
                        // deprecated for this version;
                        increasingStrength: true,