Procházet zdrojové kódy

Update controller.js

A-Circle Zhang před 7 roky
rodič
revize
156552be97
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/js/controller.js

+ 1 - 1
src/js/controller.js

@@ -85,7 +85,7 @@ class Controller {
         if (this.player.options.video.thumbnails) {
             this.thumbnails = new Thumbnails({
                 container: this.player.template.barPreview,
-                barWidth: this.player.template.barWrap.offsetWidth,
+                barWrap: this.player.template.barWrap,
                 url: this.player.options.video.thumbnails,
                 events: this.player.events
             });