Commit e38ffb31 authored by Sven Franck's avatar Sven Franck

app: find gadget multiple levels deep when declaring gadgets

parent c0646ca8
......@@ -6546,6 +6546,9 @@
// CREATE
} else {
selector = wrapper.fragment.firstElementChild || wrapper.fragment;
while (util.testForString("dyno", selector.className) === false) {
selector = selector.firstChild || selector;
}
pass.state.gadget = selector;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment