Browse Source

#3655 Removes deprecated use of size()

pull/3704/head
Jack Lukic 8 years ago
parent
commit
679ee67772
2 changed files with 5 additions and 4 deletions
  1. 7
      RELEASE-NOTES.md
  2. 2
      src/definitions/behaviors/form.js

7
RELEASE-NOTES.md

@ -4,11 +4,12 @@
**Bugs**
-**Dropdown** - Fixed issue where dropdowns with sub-menus would not properly activate on mobile #3183
-**API** - Fixes bug where `beforeSend` would not correctly cancel request when `return false;` is used in callback. #3660
- **Dropdown** - Fixed issue where dropdowns with sub-menus would not properly activate on mobile #3183
- **API** - Fixes bug where `beforeSend` would not correctly cancel request when `return false;` is used in callback. #3660
- **Modal** - Fixes issue where RGB values set for dimmer `background-color` werent being correctly interpreted #3665 **Thanks @larsbo**
**Enhancements**
**Build Tools** - Added new `autoInstall` option to allow for Semantic to be installed without user interaction. See [docs explanation]() for how to use. #3616 **Thanks @algorithme**
- **Build Tools** - Added new `autoInstall` option to allow for Semantic to be installed without user interaction. See [docs explanation]() for how to use. #3616 **Thanks @algorithme**
### Version 2.1.8 - Jan 7, 2016

2
src/definitions/behaviors/form.js

@ -369,7 +369,7 @@ $.fn.form = function(parameters) {
}
if(requiresName) {
$label = $field.closest(selector.group).find('label').eq(0);
name = ($label.size() == 1)
name = ($label.length == 1)
? $label.text()
: $field.prop('placeholder') || settings.text.unspecifiedField
;

Loading…
Cancel
Save