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

apply suggestion change

This commit is contained in:
grafixeyehero 2019-11-22 21:32:51 +03:00
parent 38ac5766c8
commit b77143797c

View file

@ -272,13 +272,13 @@ define(['apphost', 'globalize'], function (appHost, globalize) {
canRate: function (item) {
if (item.Type === 'Program' ||
item.Type === 'Timer' ||
item.Type === 'SeriesTimer' ||
item.Type === 'CollectionFolder' ||
item.Type === 'UserView' ||
item.Type === 'Channel' ||
!item.UserData) {
if (item.Type === 'Program'
|| item.Type === 'Timer'
|| item.Type === 'SeriesTimer'
|| item.Type === 'CollectionFolder'
|| item.Type === 'UserView'
|| item.Type === 'Channel'
|| !item.UserData) {
return false;
}