Commit a5b3d30e authored by Sven Franck's avatar Sven Franck

app: removed while selector to find dyno (too much browser hang ups)

parent a3fe54a4
......@@ -6552,7 +6552,7 @@
}
// only for dynamic content
if (!pass.skip) {
if (!pass.skip && !quirk_dict.no_content) {
// UPDATES
if (quirk_dict.update) {
selector = pass.state.gadget;
......@@ -6567,8 +6567,11 @@
// CREATE
} else {
selector = wrapper.fragment.firstElementChild || wrapper.fragment;
while (util.testForString("dyno", selector.className) === false) {
selector = selector.firstChild || selector;
// wrapped dyno
// TODO: find way to dig down into tree
if (util.testForString("dyno", selector.className) === false) {
selector = selector.firstChild;
}
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