Initiate helper text

This commit is contained in:
Matthew Grove
2018-11-13 19:17:51 +00:00
parent de69aa9207
commit 6329fb3724

View File

@@ -35,7 +35,7 @@ $(document).ready(function(){
// initiate helper texts // initiate helper texts
const mdc_helper_texts = document.querySelectorAll(".mdc-text-field-helper-text"); const mdc_helper_texts = document.querySelectorAll(".mdc-text-field-helper-text");
for (const helper_text of mdc_helper_texts) { for (const helper_text of mdc_helper_texts) {
mdc.textFieldHelperText.MDCTextFieldHelperText.attachTo(helper_text); mdc.textField.MDCHelperText.attachTo(helper_text);
} }
var drawer_item_link_query_selector = ".mdc-list-item[href='" + window.activated_drawer_item_link; var drawer_item_link_query_selector = ".mdc-list-item[href='" + window.activated_drawer_item_link;