Orange select-color line

This commit is contained in:
Kasper Rynning-Tønnesen
2018-07-01 21:52:41 +02:00
parent ba9d96f1eb
commit 42efd8cc8e
2 changed files with 6 additions and 4 deletions

View File

@@ -929,10 +929,10 @@ addListener("click", "#aprilfools", function(){
addListener("change", '#view_channels_select', function(event) {
var that = this;
if(currently_showing_channels != parseInt(that.value)) {
Frontpage.populate_channels(Frontpage.all_channels, (parseInt(that.value) == 1 ? true : false));
if(currently_showing_channels != parseInt(that.target.value)) {
Frontpage.populate_channels(Frontpage.all_channels, (parseInt(that.target.value) == 1 ? true : false));
}
currently_showing_channels = parseInt(that.value);
currently_showing_channels = parseInt(that.target.value);
});
addListener("input", '#color_embed', function(e){