Skip to content

Commit 79a44b5

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 555cd9a commit 79a44b5

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

docs/api/javascript/dataviz/ui/diagram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7246,7 +7246,7 @@ The options of the new connection. See [connections](/api/javascript/dataviz/ui/
72467246
var shape1 = diagram.addShape(new Shape({x:100, y:100, fill: "red"}));
72477247
var shape2 = diagram.addShape(new Shape({x:400, y:100, fill: "red"}));
72487248

7249-
var connection = diagram.connect(shape1.getConnector["top"], shape2.getConnector["bottom"]);
7249+
var connection = diagram.connect(shape1.getConnector("top"), shape2.getConnector("bottom"));
72507250

72517251
</script>
72527252

docs/framework/globalization/numberformatting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ position: 5
88

99
# Number Formatting
1010

11-
The purpose of number formatting is to convert a `Number` object to a human readable string using the culture-specific settings.
11+
The purpose of number formatting is to convert a `Number` object to a human readable string using the culture-specific settings.
1212

1313
The [`kendo.format`](/api/javascript/kendo#format) and [`kendo.toString`](/api/javascript/kendo#tostring) methods support standard and custom numeric formats.
1414

@@ -70,29 +70,29 @@ The `"0"` is the zero placeholder. It replaces the zero with the corresponding d
7070

7171
###### Example
7272

73-
kendo.toString(1234.5678, "00000") -> 01235.
73+
kendo.toString(1234.5678, "00000") -> 01235
7474

7575
The `"#"` is the digit placeholder. It replaces the pound sign with the corresponding digit if one is present. Otherwise, no digit appears in the result string.
7676

7777
###### Example
7878

79-
kendo.toString(1234.5678, "#####") -> 1235.
79+
kendo.toString(1234.5678, "#####") -> 1235
8080

8181
> **Important**
8282
>
83-
> The `"#"` specifier cannot be used to format a number as telephone number, i.e. (###)-###-####.
83+
> The `"#"` specifier cannot be used to format a number as telephone number, i.e. (###)-###-####
8484
8585
The `"."` is the decimal placeholder. It determines the location of the decimal separator in the result string.
8686

8787
###### Example
8888

89-
kendo.toString(0.45678, "0.00") -> 0.46 (en-US).
89+
kendo.toString(0.45678, "0.00") -> 0.46 (en-US)
9090

9191
The `","` is the group separator placeholder. It inserts a localized group separator between each group.
9292

9393
###### Example
9494

95-
kendo.toString(12345678, "##,#") -> 12,345,678(en-US).
95+
kendo.toString(12345678, "##,#") -> 12,345,678(en-US)
9696

9797
The `"%"` is the percentage placeholder. It multiplies a number by 100 and inserts a localized percentage symbol in the result string.
9898

src/kendo.list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,8 @@ var __meta__ = { // jshint ignore:line
17931793

17941794
if (Math.abs(endY - startY) < 10) {
17951795
e.preventDefault();
1796-
that.trigger("click", { item: $(e.target) });
1796+
var target = e.target.tagName.toLowerCase() === "li" ? e.target : e.target.parentElement;
1797+
that.trigger("click", { item: $(target) });
17971798
}
17981799
});
17991800
},

src/kendo.menu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var __meta__ = { // jshint ignore:line
1414
var kendo = window.kendo,
1515
ui = kendo.ui,
1616
activeElement = kendo._activeElement,
17-
touch = (kendo.support.touch && kendo.support.mobileOS) || kendo.support.mouseAndTouchPresent,
17+
touch = (kendo.support.touch && kendo.support.mobileOS),
1818
MOUSEDOWN = "mousedown",
1919
CLICK = "click",
2020
DELAY = 30,
@@ -1117,7 +1117,7 @@ var __meta__ = { // jshint ignore:line
11171117
li.parent().siblings(scrollButtonSelector).css({zIndex: ""});
11181118
}
11191119

1120-
if (touch || allPointers) {
1120+
if (touch || allPointers || kendo.support.mouseAndTouchPresent) {
11211121
li.removeClass(HOVERSTATE);
11221122
that._removeHoverItem();
11231123
}

0 commit comments

Comments
 (0)