1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix linting

This commit is contained in:
MrTimscampi 2020-07-19 16:27:48 +02:00
parent dfbb7dfc16
commit a179291f4f
2 changed files with 0 additions and 3 deletions

View file

@ -55,7 +55,6 @@ import 'emby-input';
textarea.style.overflowY = 'hidden'; textarea.style.overflowY = 'hidden';
textarea.style.height = 'auto'; textarea.style.height = 'auto';
newHeight = textarea.scrollHeight/* - offset*/; newHeight = textarea.scrollHeight/* - offset*/;
hasGrown = true;
} }
$('.customCssContainer').css('height', newHeight + 'px'); $('.customCssContainer').css('height', newHeight + 'px');
textarea.style.height = newHeight + 'px'; textarea.style.height = newHeight + 'px';

View file

@ -102,7 +102,6 @@ define([], function () {
var animation = false; var animation = false;
var domPrefixes = ['Webkit', 'O', 'Moz']; var domPrefixes = ['Webkit', 'O', 'Moz'];
var pfx = '';
var elm = document.createElement('div'); var elm = document.createElement('div');
if (elm.style.animationName !== undefined) { if (elm.style.animationName !== undefined) {
@ -112,7 +111,6 @@ define([], function () {
if (animation === false && allowPrefix) { if (animation === false && allowPrefix) {
for (var i = 0; i < domPrefixes.length; i++) { for (var i = 0; i < domPrefixes.length; i++) {
if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) { if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {
pfx = domPrefixes[i];
animation = true; animation = true;
break; break;
} }