Skip to content

Commit

Permalink
Trello Card Colorizer 1.1.2.1 - use !== instead of !=
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Grippi committed Apr 24, 2013
1 parent 1b8ecca commit 4b8326b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Trello/card_colorizer.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @namespace http://petergrippi.com/
// @description adds color to cards
// @include https://trello.com/board/*
// @version 1.1.2
// @version 1.1.2.1
// ==/UserScript==
(function () {
"use strict";
Expand Down Expand Up @@ -40,7 +40,7 @@
var colorizer = function() {
$('.card-label').each(function(){
var $this = $(this), data = $this.data();
if (!data.colorized || data.colorized_color != $this.css('background-color')) {
if (!data.colorized || data.colorized_color !== $this.css('background-color')) {
$this.closest('.list-card').css('background-color', $this.css('background-color'));
$this.data({
'colorized' : true,
Expand Down

0 comments on commit 4b8326b

Please sign in to comment.