Automated build for v0.01
This commit is contained in:
9
plugins/toggle_sidebar/init.js
Normal file
9
plugins/toggle_sidebar/init.js
Normal file
@ -0,0 +1,9 @@
|
||||
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';
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user