We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing websites' onload callback not called. Issue is caused by :
window.onload = function () { getmdlSelect.init('.getmdl-select'); document.addEventListener("DOMNodeInserted", function (ev) { if (ev.relatedNode.querySelectorAll(".getmdl-select").length > 0) { componentHandler.upgradeDom(); } }, false); };
You can use
window.addEventListener ? window.addEventListener("load",mWhenLoaded,false) : window.attachEvent && window.attachEvent("onload",mWhenLoaded);
function mWhenLoaded() { getmdlSelect.init('.getmdl-select'); document.addEventListener("DOMNodeInserted", function (ev) { if (ev.relatedNode.querySelectorAll(".getmdl-select").length > 0) { componentHandler.upgradeDom(); } }, false); };`
The text was updated successfully, but these errors were encountered:
Thank you for this issue. Merged your pull request.
Sorry, something went wrong.
No branches or pull requests
Implementing websites' onload callback not called. Issue is caused by :
window.onload = function () { getmdlSelect.init('.getmdl-select'); document.addEventListener("DOMNodeInserted", function (ev) { if (ev.relatedNode.querySelectorAll(".getmdl-select").length > 0) { componentHandler.upgradeDom(); } }, false); };
You can use
window.addEventListener ? window.addEventListener("load",mWhenLoaded,false) : window.attachEvent && window.attachEvent("onload",mWhenLoaded);
The text was updated successfully, but these errors were encountered: