@finqu/cool 1.2.26 → 1.2.27

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI v1.2.26 (https://finqu.fi)
2
+ * Cool UI v1.2.27 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -4269,7 +4269,8 @@
4269
4269
 
4270
4270
  _proto.moveToList = function moveToList(el) {
4271
4271
  var $el = $(el);
4272
- $el.removeClass('dropdown-item');
4272
+ var $itemActionEl = $el.find('.tab-item-action');
4273
+ $itemActionEl.removeClass('dropdown-item');
4273
4274
  $el.insertBefore(this.$dropdownContainer);
4274
4275
  this.checkForChanges();
4275
4276
  } // Move to dropdown
@@ -4277,9 +4278,10 @@
4277
4278
 
4278
4279
  _proto.moveToDropdown = function moveToDropdown(el) {
4279
4280
  var $el = $(el);
4281
+ var $itemActionEl = $el.find('.tab-item-action');
4280
4282
 
4281
- if (!$el.hasClass('dropdown-item')) {
4282
- $el.addClass('dropdown-item');
4283
+ if (!$itemActionEl.hasClass('dropdown-item')) {
4284
+ $itemActionEl.addClass('dropdown-item');
4283
4285
  }
4284
4286
 
4285
4287
  $el.appendTo(this.$dropdownList);