fix text parsing
This commit is contained in:
parent
c1a3bb6ba4
commit
603d85b529
@ -128,20 +128,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const sharedText = accountDetailsTextarea.dataset.sharedText;
|
||||||
|
|
||||||
|
if (sharedText && sharedText !== 'None') {
|
||||||
|
accountDetailsTextarea.value = sharedText;
|
||||||
|
const event = new Event('input', {
|
||||||
|
bubbles: true,
|
||||||
|
cancelable: true,
|
||||||
|
});
|
||||||
|
accountDetailsTextarea.dispatchEvent(event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const accountDetailsTextarea = document.getElementById('accountDetails');
|
|
||||||
const sharedText = accountDetailsTextarea.dataset.sharedText;
|
|
||||||
|
|
||||||
if (sharedText && sharedText !== 'None') {
|
|
||||||
accountDetailsTextarea.value = sharedText;
|
|
||||||
const event = new Event('input', {
|
|
||||||
bubbles: true,
|
|
||||||
cancelable: true,
|
|
||||||
});
|
|
||||||
accountDetailsTextarea.dispatchEvent(event);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user