Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit cb547b2

Browse files
committed
♨️ 0.11.6 ♨️
1 parent bd61728 commit cb547b2

File tree

7 files changed

+18
-13
lines changed

7 files changed

+18
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Changelog
22
=========
3+
### 0.11.6
4+
* Scope `focus` option's error scrolling to only inputs within the validator's form element. (#385)
5+
* Fixing `<select multiple required />` being marked as invalid by default with jQuery 3.x (#393)
6+
* Fixing a memory leak of `this.$inputs` on `.validator('destroy')`
7+
38
### 0.11.5
49
* Fixed an event binding order issue when the form is reset. ([#375](https://github.com/1000hz/bootstrap-validator/pull/375))
510

dist/validator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Validator v0.11.5 for Bootstrap 3, by @1000hz
2+
* Validator v0.11.6 for Bootstrap 3, by @1000hz
33
* Copyright 2016 Cina Saffary
44
* Licensed under http://opensource.org/licenses/MIT
55
*
@@ -48,7 +48,7 @@
4848
this.toggleSubmit()
4949
}
5050

51-
Validator.VERSION = '0.11.5'
51+
Validator.VERSION = '0.11.6'
5252

5353
Validator.INPUT_SELECTOR = ':input:not([type="hidden"], [type="submit"], [type="reset"], button)'
5454

@@ -110,7 +110,6 @@
110110
Validator.prototype.validateInput = function ($el, deferErrors) {
111111
var value = getValue($el)
112112
var prevErrors = $el.data('bs.validator.errors')
113-
var errors
114113

115114
if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]')
116115

@@ -338,6 +337,7 @@
338337
this.validators = null
339338
this.$element = null
340339
this.$btn = null
340+
this.$inputs = null
341341

342342
return this
343343
}

dist/validator.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/validator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Validator v0.11.5 for Bootstrap 3, by @1000hz
2+
* Validator v0.11.6 for Bootstrap 3, by @1000hz
33
* Copyright 2016 Cina Saffary
44
* Licensed under http://opensource.org/licenses/MIT
55
*
@@ -48,7 +48,7 @@
4848
this.toggleSubmit()
4949
}
5050

51-
Validator.VERSION = '0.11.5'
51+
Validator.VERSION = '0.11.6'
5252

5353
Validator.INPUT_SELECTOR = ':input:not([type="hidden"], [type="submit"], [type="reset"], button)'
5454

@@ -110,7 +110,6 @@
110110
Validator.prototype.validateInput = function ($el, deferErrors) {
111111
var value = getValue($el)
112112
var prevErrors = $el.data('bs.validator.errors')
113-
var errors
114113

115114
if ($el.is('[type="radio"]')) $el = this.$element.find('input[name="' + $el.attr('name') + '"]')
116115

@@ -338,6 +337,7 @@
338337
this.validators = null
339338
this.$element = null
340339
this.$btn = null
340+
this.$inputs = null
341341

342342
return this
343343
}

0 commit comments

Comments
 (0)