combo_auto_box 0.0.28 → 0.0.29
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.
@@ -338,7 +338,7 @@ var ComboAutoBox = {
|
|
338
338
|
if (spanHeight == 0) {
|
339
339
|
spanHeight = 20;
|
340
340
|
}
|
341
|
-
inputTop = (getTextFieldHeight(textField) / 2) - ((getTextFieldBorder(textField, '
|
341
|
+
inputTop = (getTextFieldHeight(textField) / 2) - ((getTextFieldBorder(textField, 'top') + spanHeight) / 2) - 2;
|
342
342
|
$('#' + container + ' > div.container-combo-auto-box > span.multiple').css('margin-top', (inputTop).toString() + 'px');
|
343
343
|
} catch (error) {
|
344
344
|
}
|
@@ -366,8 +366,8 @@ var ComboAutoBox = {
|
|
366
366
|
var heightTotal = 0;
|
367
367
|
|
368
368
|
try {
|
369
|
-
var matched = textField.css('border-' + side).match(/(\d+)(px)/);
|
370
|
-
heightTotal = heightTotal +
|
369
|
+
var matched = textField.css('border-' + side).match(/([\d\.]+)(px)/);
|
370
|
+
heightTotal = heightTotal + parseFloat(matched[1]);
|
371
371
|
} catch (error) {
|
372
372
|
}
|
373
373
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: combo_auto_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
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: 2014-
|
12
|
+
date: 2014-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|