remove unneeded cloning

This commit is contained in:
rolux 2012-06-19 19:43:19 +02:00
parent 5fb5198008
commit 5bbce78878

View file

@ -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;