@finqu/cool 1.1.0 → 1.1.1

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.0.0 (https://finqu.fi)
2
+ * Cool UI v1.1.0 (https://finqu.fi)
3
3
  * Copyright 2011-2019 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -14965,6 +14965,16 @@
14965
14965
 
14966
14966
  this.$container.append(dialog.$el);
14967
14967
 
14968
+ if (dialog.template === '' && touchEvents() == false) {
14969
+ dialog.$el.find('.dialog-body').addClass('ps-dark');
14970
+ new PerfectScrollbar(dialog.$el.find('.dialog-body')[0], {
14971
+ wheelSpeed: 1,
14972
+ wheelPropagation: false,
14973
+ minScrollbarLength: 20
14974
+ });
14975
+ dialog.$el.find('.dialog-body').addClass('ps-show-rail-y');
14976
+ }
14977
+
14968
14978
  if (dialog.animation) {
14969
14979
  dialog.$el.find('.dialog-content').addClass(dialog.animationSpeed).animateCss(dialog.animationIn);
14970
14980
  }