Searched refs:currentAttrValue (Results 1 – 1 of 1) sorted by relevance
148 const currentAttrValue = el.getAttribute(attr); constant150 if (!currentAttrValue) return;154 currentAttrValue.length >= oldStr.length &&155 currentAttrValue.indexOf(oldStr) ==156 currentAttrValue.length - oldStr.length158 el.setAttribute(attr, currentAttrValue.replace(oldStr, newStr));