mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add constructor capitalization rule
This commit is contained in:
parent
8e2ea6812a
commit
ec0adb895b
43 changed files with 103 additions and 94 deletions
|
@ -19,7 +19,7 @@ function calculateOffset(textarea) {
|
|||
return offset;
|
||||
}
|
||||
|
||||
function autoGrow(textarea, maxLines) {
|
||||
function AutoGrow(textarea, maxLines) {
|
||||
const self = this;
|
||||
|
||||
if (maxLines === undefined) {
|
||||
|
@ -125,7 +125,7 @@ EmbyTextAreaPrototype.attachedCallback = function () {
|
|||
label.innerText = text;
|
||||
};
|
||||
|
||||
new autoGrow(this);
|
||||
new AutoGrow(this);
|
||||
};
|
||||
|
||||
document.registerElement('emby-textarea', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue