forked from 0x2620/oxjs
in icon lists, support 'info' that is not a string, but an element
This commit is contained in:
parent
3965eed153
commit
44a8ff015c
4 changed files with 32 additions and 8 deletions
|
|
@ -114,7 +114,10 @@ Ox.IconList = function(options, self) {
|
|||
|
||||
function updateKeys() {
|
||||
that.$element.options({
|
||||
keys: Ox.unique(Ox.merge(self.options.sort[0].key, self.options.keys))
|
||||
keys: Ox.unique(Ox.merge(
|
||||
self.options.sort[0].key.split(':').pop(),
|
||||
self.options.keys
|
||||
))
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue