mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update collection menus
This commit is contained in:
parent
65442321a0
commit
8119b930e4
17 changed files with 183 additions and 52 deletions
|
@ -130,6 +130,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
assert.equal(s.selected, '0');
|
||||
});
|
||||
|
||||
test('activates after detach and re-attach', function() {
|
||||
// Detach and re-attach
|
||||
var parent = s.parentNode;
|
||||
parent.removeChild(s);
|
||||
parent.appendChild(s);
|
||||
|
||||
// select Item 2
|
||||
s.children[2].dispatchEvent(new CustomEvent('tap', {bubbles: true}));
|
||||
assert.equal(s.selected, '2');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue