|
|
|
@ -40,7 +40,8 @@ CodeListView.prototype.indexChanged = function (index) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.itemSelected = this.codeView.children[index] |
|
|
|
|
this.itemSelected.style.setProperty('background-color', 'var(--danger)') |
|
|
|
|
this.itemSelected.style.setProperty('background-color', 'var(--info)') |
|
|
|
|
this.itemSelected.style.setProperty('color', 'var(--light)') |
|
|
|
|
this.itemSelected.setAttribute('selected', 'selected') |
|
|
|
|
if (this.itemSelected.firstChild) { |
|
|
|
|
this.itemSelected.firstChild.setAttribute('style', 'margin-left: 2px') |
|
|
|
|