From 3db1c4d6ade5ba75fd2c7436f9a1d38aeefdccf0 Mon Sep 17 00:00:00 2001 From: Jeffrey Carl Faden Date: Mon, 10 Dec 2012 10:30:33 -0800 Subject: [PATCH] Fixing syntax errors --- src/js/mep-feature-volume.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/mep-feature-volume.js b/src/js/mep-feature-volume.js index 2241e189a..c4d6d7924 100644 --- a/src/js/mep-feature-volume.js +++ b/src/js/mep-feature-volume.js @@ -81,7 +81,7 @@ newTop = totalHeight - (totalHeight * volume); // handle - volumeHandle.css(Math.round('top', totalPosition.top + newTop - (volumeHandle.height() / 2))); + volumeHandle.css('top', Math.round(totalPosition.top + newTop - (volumeHandle.height() / 2))); // show the current visibility volumeCurrent.height(Math.round(totalHeight - newTop)); @@ -99,7 +99,7 @@ newLeft = totalWidth * volume; // handle - volumeHandle.css('left', Math.round(totalPosition.left + newLeft - (volumeHandle.width() / 2)); + volumeHandle.css('left', Math.round(totalPosition.left + newLeft - (volumeHandle.width() / 2))); // rezize the current part of the volume bar volumeCurrent.width(Math.round(newLeft));