Skip to content

Commit 35da9b4

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 1fc3d43 commit 35da9b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/kendo.pager.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ var __meta__ = { // jshint ignore:line
115115
if (options.dataSource && !options.dataSource.total()) {
116116
that.list.empty().append(that.currentPageTemplate({ text: 0 })).append(that.selectTemplate({ text: 0 }));
117117
}
118-
that.list.wrap('<div class="k-pager-numbers-wrap"></div>');
118+
if (!that.list.parent().hasClass("k-pager-numbers-wrap")) {
119+
that.list.wrap('<div class="k-pager-numbers-wrap"></div>');
120+
}
119121
}
120122

121123
if (options.input) {

0 commit comments

Comments
 (0)