fix(webui): add riven placeholder text
This commit is contained in:
parent
3e460c5728
commit
8728cf3abf
@ -373,7 +373,7 @@
|
||||
<option value="LotusShotgunRandomModRare">LotusShotgunRandomModRare</option>
|
||||
<option value="PlayerMeleeWeaponRandomModRare">PlayerMeleeWeaponRandomModRare</option>
|
||||
</select>
|
||||
<textarea id="addriven-fingerprint" class="form-control mb-3" data-loc-placeholder_"mods.fingerprint"></textarea>
|
||||
<textarea id="addriven-fingerprint" class="form-control mb-3" data-loc-placeholder="mods_fingerprint"></textarea>
|
||||
<button class="btn btn-primary" style="margin-right: 5px" type="submit" data-loc="general_addButton"></button>
|
||||
<a href="riven-tool/" target="_blank" data-loc="mods_fingerprintHelp"></a>
|
||||
</form>
|
||||
|
@ -118,6 +118,9 @@ function updateLocElements() {
|
||||
document.querySelectorAll("[data-loc]").forEach(elm => {
|
||||
elm.innerHTML = loc(elm.getAttribute("data-loc"));
|
||||
});
|
||||
document.querySelectorAll("[data-loc-placeholder]").forEach(elm => {
|
||||
elm.placeholder = loc(elm.getAttribute("data-loc-placeholder"));
|
||||
});
|
||||
}
|
||||
|
||||
function setActiveLanguage(lang) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user