Skip to content

Commit

Permalink
fix webui colors
Browse files Browse the repository at this point in the history
  • Loading branch information
neatsoft committed Sep 17, 2015
1 parent 1347c29 commit c73e38e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pieces/data/pieces.js
Expand Up @@ -62,11 +62,11 @@ Deluge.pieces.PiecesTab = Ext.extend(Ext.Panel, {
deluge.client.pieces.get_config({
success: function(config) {
var ctmp = config['dling_color'].split("");
this.dlingColor = "#"+ctmp[1]+ctmp[2]+ctmp[5]+ctmp[6]+ctmp[9]+ctmp[10];
this.dlingColor = "#"+ctmp[1]+ctmp[2]+ctmp[3]+ctmp[4]+ctmp[5]+ctmp[6];
ctmp = config['dled_color'].split("");
this.dledColor = "#"+ctmp[1]+ctmp[2]+ctmp[5]+ctmp[6]+ctmp[9]+ctmp[10];
this.dledColor = "#"+ctmp[1]+ctmp[2]+ctmp[3]+ctmp[4]+ctmp[5]+ctmp[6];
ctmp = config['not_dled_color'].split("");
this.notDledColor = "#"+ctmp[1]+ctmp[2]+ctmp[5]+ctmp[6]+ctmp[9]+ctmp[10];
this.notDledColor = "#"+ctmp[1]+ctmp[2]+ctmp[3]+ctmp[4]+ctmp[5]+ctmp[6];
},
scope: this
});
Expand Down

0 comments on commit c73e38e

Please sign in to comment.