()
| 214 | } |
| 215 | |
| 216 | function showSidebarListView() { |
| 217 | if (viewList.style.display !== 'none') { |
| 218 | sidebarEl.style.transform = 'translateX(0)'; |
| 219 | viewList.style.marginRight = (sidebarEl.offsetWidth+100) + 'px'; |
| 220 | } else { |
| 221 | showSidebar(); |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | // Sync selection when switching to list tab |
| 226 | const tabListBtn = document.getElementById('tab-list'); |
no test coverage detected