@finqu/cool 1.1.0 → 1.1.2

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.
package/dist/js/cool.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI v1.0.0 (https://finqu.fi)
2
+ * Cool UI v1.1.1 (https://finqu.fi)
3
3
  * Copyright 2011-2019 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -4609,6 +4609,16 @@
4609
4609
 
4610
4610
  this.$container.append(dialog.$el);
4611
4611
 
4612
+ if (dialog.template === '' && touchEvents() == false) {
4613
+ dialog.$el.find('.dialog-body').addClass('ps-dark');
4614
+ new PerfectScrollbar(dialog.$el.find('.dialog-body')[0], {
4615
+ wheelSpeed: 1,
4616
+ wheelPropagation: false,
4617
+ minScrollbarLength: 20
4618
+ });
4619
+ dialog.$el.find('.dialog-body').addClass('ps-show-rail-y');
4620
+ }
4621
+
4612
4622
  if (dialog.animation) {
4613
4623
  dialog.$el.find('.dialog-content').addClass(dialog.animationSpeed).animateCss(dialog.animationIn);
4614
4624
  }