web/res/metadataplayer/Slider.js
changeset 1304 10974bff4dae
parent 1198 ff4b567d51f2
--- a/web/res/metadataplayer/Slider.js	Fri Dec 11 18:11:13 2015 +0100
+++ b/web/res/metadataplayer/Slider.js	Tue Dec 29 13:25:14 2015 +0100
@@ -19,15 +19,15 @@
     '<div class="Ldt-Slider"></div><div class="Ldt-Slider-Time">00:00</div>';
 
 IriSP.Widgets.Slider.prototype.draw = function() {
-    
+
     this.renderTemplate();
-    
+
     this.$time = this.$.find(".Ldt-Slider-Time");
-    
+
     this.$slider = this.$.find(".Ldt-Slider");
-    
+
     var _this = this;
-    
+
     this.$slider.slider({
         range: "min",
         value: 0,
@@ -38,22 +38,22 @@
             _this.player.trigger("Mediafragment.setHashToTime");
         }
     });
-    
+
     this.$handle = this.$slider.find('.ui-slider-handle');
-    
+
     this.onMediaEvent("timeupdate","onTimeupdate");
     this.onMdpEvent("Player.MouseOver","onMouseover");
     this.onMdpEvent("Player.MouseOut","onMouseout");
-    
+
     if (this.minimize_timeout) {
         this.$slider.css(this.calculateSliderCss(this.minimized_height));
         this.$handle.css(this.calculateHandleCss(this.minimized_height));
-        
+
         this.maximized = false;
         this.timeoutId = false;
     }
-    
-    this.$
+
+    this.$slider
         .mouseover(function() {
             _this.$time.show();
             _this.onMouseover();
@@ -128,6 +128,6 @@
     return {
         height: (2 + _size) + "px",
         width: (2 + _size) + "px",
-        "margin-left": -Math.ceil(2 + _size / 2) + "px" 
+        "margin-left": -Math.ceil(2 + _size / 2) + "px"
     };
-};
\ No newline at end of file
+};