Skip to content

Commit

Permalink
quick fix for wastebin color
Browse files Browse the repository at this point in the history
  • Loading branch information
wvhn authored Dec 20, 2022
1 parent 23258dd commit f8c661b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ $.widget("sv.calendar_waste", $.sv.widget, {
);

if (entry.icon.indexOf('.svg') == -1)
a.find('div').last().before( $('<img class="icon icon1" src="' + entry.icon + '" style="width: 100%; height: 120%; fill: ' + entry.color + '; stroke: ' + entry.color + '" />'));
a.find('div').last().before( $('<img class="icon icon1" src="' + entry.icon + '" style="width: 100%; height: 120%; fill: ' + entry.color + '; stroke: ' + entry.color + ';" />'));
else
fx.load(entry.icon,'fx-icon icon1', 'width: 100%; height: 120%; fill: ' + entry.color + '; stroke: ' + entry.color + '"', a.find('div').last(), 'before');
fx.load(entry.icon,'fx-icon icon1', 'width: 100%; height: 120%; fill: ' + entry.color + '; stroke: ' + entry.color + ';', a.find('div').last(), 'before');

node.find('div:first').append(a);
});
Expand Down

0 comments on commit f8c661b

Please sign in to comment.