bootstrap-timepicker-rails-addon 0.2.3.2 → 0.2.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Bootstrap
2
2
  module Timepicker
3
3
  module Rails
4
4
  module Addon
5
- VERSION = "0.2.3.2"
5
+ VERSION = "0.2.4.1"
6
6
  end
7
7
  end
8
8
  end
@@ -520,8 +520,8 @@
520
520
  this.minute = newVal - 60;
521
521
  } else {
522
522
  this.minute = newVal;
523
+ this.update();
523
524
  }
524
- this.update();
525
525
  },
526
526
 
527
527
  incrementSecond: function() {
@@ -664,7 +664,7 @@
664
664
  var self = this;
665
665
  $(document).on('mousedown.timepicker', function (e) {
666
666
  // Clicked outside the timepicker, hide it
667
- if ($(e.target).closest('.bootstrap-timepicker-widget').length === 0) {
667
+ if ($(e.target).closest('.bootstrap-timepicker-widget') !== this.$widget) {
668
668
  self.hideWidget();
669
669
  }
670
670
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-timepicker-rails-addon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3.2
4
+ version: 0.2.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
12
+ date: 2013-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties