@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
  */
@@ -4479,6 +4479,16 @@ class Dialog {
4479
4479
 
4480
4480
  this.$container.append(dialog.$el);
4481
4481
 
4482
+ if (dialog.template === '' && touchEvents() == false) {
4483
+ dialog.$el.find('.dialog-body').addClass('ps-dark');
4484
+ new PerfectScrollbar(dialog.$el.find('.dialog-body')[0], {
4485
+ wheelSpeed: 1,
4486
+ wheelPropagation: false,
4487
+ minScrollbarLength: 20
4488
+ });
4489
+ dialog.$el.find('.dialog-body').addClass('ps-show-rail-y');
4490
+ }
4491
+
4482
4492
  if (dialog.animation) {
4483
4493
  dialog.$el.find('.dialog-content').addClass(dialog.animationSpeed).animateCss(dialog.animationIn);
4484
4494
  }