aboutsummaryrefslogtreecommitdiff
path: root/js/components/hottext.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/hottext.reel')
-rwxr-xr-xjs/components/hottext.reel/hottext.html4
-rwxr-xr-xjs/components/hottext.reel/hottext.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/js/components/hottext.reel/hottext.html b/js/components/hottext.reel/hottext.html
index 5d14f49e..c13f36f8 100755
--- a/js/components/hottext.reel/hottext.html
+++ b/js/components/hottext.reel/hottext.html
@@ -1,4 +1,4 @@
1<!DOCTYPE html> 1<!doctype html>
2<!-- <copyright> 2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility, Inc 3Copyright (c) 2012, Motorola Mobility, Inc
4All Rights Reserved. 4All Rights Reserved.
@@ -44,7 +44,7 @@ POSSIBILITY OF SUCH DAMAGE.
44 } 44 }
45 } 45 }
46 </script> 46 </script>
47 47
48</head> 48</head>
49<body> 49<body>
50 <input data-montage-id="hottext" class="hottext"/> 50 <input data-montage-id="hottext" class="hottext"/>
diff --git a/js/components/hottext.reel/hottext.js b/js/components/hottext.reel/hottext.js
index f49bfc5f..5e362b46 100755
--- a/js/components/hottext.reel/hottext.js
+++ b/js/components/hottext.reel/hottext.js
@@ -214,7 +214,7 @@ var HotText = exports.HotText = Montage.create(SliderBase, {
214 214
215 var dX = clickPoint.x - this._xStart; 215 var dX = clickPoint.x - this._xStart;
216 var dY = clickPoint.y - this._yStart; 216 var dY = clickPoint.y - this._yStart;
217 217
218 var dXAbs = Math.abs(dX); 218 var dXAbs = Math.abs(dX);
219 var dYAbs = Math.abs(dY); 219 var dYAbs = Math.abs(dY);
220 220
@@ -224,7 +224,7 @@ var HotText = exports.HotText = Montage.create(SliderBase, {
224 } 224 }
225 225
226 var incrementVal = dXAbs-4; // otherwise, the first value change will be 5 pixels 226 var incrementVal = dXAbs-4; // otherwise, the first value change will be 5 pixels
227 var multFactor = 1; 227 var multFactor = 1;
228 228
229 if(dXAbs > dYAbs) 229 if(dXAbs > dYAbs)
230 { 230 {