Advertisement
theo_manta

Untitled

Dec 28th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REG 0.70 KB | None | 0 0
  1. var stopped = true;
  2.                 slots = findClientStatusSlots(item.id);
  3.                 for (var i = 0; i < slots.length; i++) {
  4.                     if (slots[i].status != 'STOPPED') {
  5.                         stopped = false;
  6.                     }
  7.                 }
  8.                 if (!stopped) {
  9.                     $('#' + item.id).css({
  10.                         color: client.labelcolor,
  11.                         'background-color': client.color
  12.                     });
  13.                     $('#' + item.id).find('.client-name').addClass('free');
  14.                     $('#' + item.id).find('.rect').hide();
  15.                 }
  16.                 $($('#' + item.id).find('.time')[item.slot - 1]).hide();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement