Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
LabelEditor: Fix select color bug when add new label
Browse files Browse the repository at this point in the history
- Bug : Do not change color hash code when click color scheme button on label editor
  • Loading branch information
insanehong committed Mar 11, 2015
1 parent 11b12b7 commit fedd18f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/javascripts/service/yobi.issue.LabelEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@
var targetButton = $(evt.target);
var targetColor = _getRefinedHexColor(targetButton.css('background-color'));

elements.inputColor.val(targetColor);
elements.inputColor.focus();
elements.colorsWrap.find(".btn-preset-color").removeClass("active");
targetButton.addClass("active");
Expand Down

0 comments on commit fedd18f

Please sign in to comment.