ucservice 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13194,7 +13194,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13194
13194
  let target = item.target;
13195
13195
 
13196
13196
  if (document.querySelector(_self.selector)) {
13197
- let videoLi = document.querySelector(_self.selector).querySelectorAll('li');
13197
+ let videoLi = {};
13198
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13199
+ videoLi[$(liItem).attr('index')] = liItem;
13200
+ });
13198
13201
 
13199
13202
  _self.VIDEO_DATA.forEach((item, index) => {
13200
13203
  let tel = item.video;
@@ -13228,7 +13231,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13228
13231
  let target = item.target;
13229
13232
 
13230
13233
  if (document.querySelector(_self.selector)) {
13231
- let videoLi = document.querySelector(_self.selector).querySelectorAll('li');
13234
+ let videoLi = {};
13235
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13236
+ videoLi[$(liItem).attr('index')] = liItem;
13237
+ });
13232
13238
 
13233
13239
  _self.VIDEO_DATA.forEach((item, index) => {
13234
13240
  let tel = item.video;
@@ -13544,7 +13550,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13544
13550
 
13545
13551
  if (document.querySelector(me.selector)) {
13546
13552
  let videoLi = {};
13547
- Array.prototype.slice.call(document.getElementById('videoRef').querySelectorAll('li'), 0).forEach(liItem => {
13553
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13548
13554
  videoLi[$(liItem).attr('index')] = liItem;
13549
13555
  });
13550
13556
  me.VIDEO_DATA.forEach((item, index) => {
Binary file