You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/plugins/toggle_sidebar/init.js

10 lines
253 B
JavaScript

Plugins.Toggle_Sidebar = {
toggle: function() {
Feeds.toggle();
const label = document.querySelector("i.toggle-sidebar-label");
label.innerHTML = Element.visible("feeds-holder") ? 'chevron_left' : 'chevron_right';
}
};