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

update components

This commit is contained in:
Luke Pulverenti 2016-12-27 03:07:18 -05:00
parent a5d05d68fe
commit 942a0512d8
4 changed files with 86 additions and 43 deletions

View file

@ -113,7 +113,7 @@ globalize.translate('sharedcomponents#CancelSyncJobConfirmation');
for (var i = 0, length = textLines.length; i < length; i++) {
if (i == 0) {
if (i === 0) {
html += '<h3 class="listItemBodyText">';
html += textLines[i];
html += '</h3>';
@ -156,7 +156,7 @@ globalize.translate('sharedcomponents#CancelSyncJobConfirmation');
if (showTargetName) {
var targetName = job.TargetName || 'Unknown';
if (targetName != lastTargetName) {
if (targetName !== lastTargetName) {
if (lastTargetName) {
html += '</div>';
@ -263,7 +263,7 @@ globalize.translate('sharedcomponents#CancelSyncJobConfirmation');
var menuItems = [];
if (status == 'Cancelled') {
if (status === 'Cancelled') {
menuItems.push({
name: globalize.translate('sharedcomponents#Delete'),
id: 'delete'