remove unneeded cloning
This commit is contained in:
parent
5fb5198008
commit
5bbce78878
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ Ox.List = function(options, self) {
|
||||||
range: range,
|
range: range,
|
||||||
sort: self.options.sort
|
sort: self.options.sort
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
var $emptyPage = Ox.clone(self.$pages[page]);
|
var $emptyPage = self.$pages[page];
|
||||||
self.$pages[page] = Ox.ListPage().css(getPageCSS(page));
|
self.$pages[page] = Ox.ListPage().css(getPageCSS(page));
|
||||||
result.data.items.forEach(function(v, i) {
|
result.data.items.forEach(function(v, i) {
|
||||||
var pos = offset + i;
|
var pos = offset + i;
|
||||||
|
|
Loading…
Reference in a new issue