|
|
@@ -450,25 +450,23 @@ const Filmstrip = {
|
|
450
|
450
|
|
|
451
|
451
|
if (thumbs.localThumb) {
|
|
452
|
452
|
// eslint-disable-next-line no-shadow
|
|
453
|
|
- promises.push(new Promise(resolve => {
|
|
454
|
|
- thumbs.localThumb.animate({
|
|
455
|
|
- height: local.thumbHeight,
|
|
456
|
|
- 'min-height': local.thumbHeight,
|
|
457
|
|
- 'min-width': local.thumbWidth,
|
|
458
|
|
- width: local.thumbWidth
|
|
459
|
|
- }, this._getAnimateOptions(animate, resolve));
|
|
460
|
|
- }));
|
|
|
453
|
+ thumbs.localThumb.css({
|
|
|
454
|
+ display: 'inline-block',
|
|
|
455
|
+ height: `${local.thumbHeight}px`,
|
|
|
456
|
+ 'min-height': `${local.thumbHeight}px`,
|
|
|
457
|
+ 'min-width': `${local.thumbWidth}px`,
|
|
|
458
|
+ width: `${local.thumbWidth}px`
|
|
|
459
|
+ });
|
|
461
|
460
|
}
|
|
|
461
|
+
|
|
462
|
462
|
if (thumbs.remoteThumbs) {
|
|
463
|
|
- // eslint-disable-next-line no-shadow
|
|
464
|
|
- promises.push(new Promise(resolve => {
|
|
465
|
|
- thumbs.remoteThumbs.animate({
|
|
466
|
|
- height: remote.thumbHeight,
|
|
467
|
|
- 'min-height': remote.thumbHeight,
|
|
468
|
|
- 'min-width': remote.thumbWidth,
|
|
469
|
|
- width: remote.thumbWidth
|
|
470
|
|
- }, this._getAnimateOptions(animate, resolve));
|
|
471
|
|
- }));
|
|
|
463
|
+ thumbs.remoteThumbs.css({
|
|
|
464
|
+ display: 'inline-block',
|
|
|
465
|
+ height: `${remote.thumbHeight}px`,
|
|
|
466
|
+ 'min-height': `${remote.thumbHeight}px`,
|
|
|
467
|
+ 'min-width': `${remote.thumbWidth}px`,
|
|
|
468
|
+ width: `${remote.thumbWidth}px`
|
|
|
469
|
+ });
|
|
472
|
470
|
}
|
|
473
|
471
|
// eslint-disable-next-line no-shadow
|
|
474
|
472
|
promises.push(new Promise(resolve => {
|