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.
@@ -13203,7 +13203,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13203
13203
  let target = item.target;
13204
13204
 
13205
13205
  if (document.querySelector(_self.selector)) {
13206
- let videoLi = document.querySelector(_self.selector).querySelectorAll('li');
13206
+ let videoLi = {};
13207
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13208
+ videoLi[$(liItem).attr('index')] = liItem;
13209
+ });
13207
13210
 
13208
13211
  _self.VIDEO_DATA.forEach((item, index) => {
13209
13212
  let tel = item.video;
@@ -13237,7 +13240,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13237
13240
  let target = item.target;
13238
13241
 
13239
13242
  if (document.querySelector(_self.selector)) {
13240
- let videoLi = document.querySelector(_self.selector).querySelectorAll('li');
13243
+ let videoLi = {};
13244
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13245
+ videoLi[$(liItem).attr('index')] = liItem;
13246
+ });
13241
13247
 
13242
13248
  _self.VIDEO_DATA.forEach((item, index) => {
13243
13249
  let tel = item.video;
@@ -13553,7 +13559,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13553
13559
 
13554
13560
  if (document.querySelector(me.selector)) {
13555
13561
  let videoLi = {};
13556
- Array.prototype.slice.call(document.getElementById('videoRef').querySelectorAll('li'), 0).forEach(liItem => {
13562
+ Array.prototype.slice.call(document.querySelector(me.selector).querySelectorAll('li'), 0).forEach(liItem => {
13557
13563
  videoLi[$(liItem).attr('index')] = liItem;
13558
13564
  });
13559
13565
  me.VIDEO_DATA.forEach((item, index) => {
Binary file