WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-129b11-4.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 115899 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: close tab and activate previous
MarcRohrer
asked 4 years ago
Hi,
I have tabs with close buttons and want to activate the previous tab when tab to be deleted is active otherwise just close. Closing the current tab works fine, but not when some other tab is closed, as
element.firstElementChild.classList.contains('active') { element.previousElementSibling.firstElementChild.click() }
always is true. Even when
tab.addEventListener('click',closeTabListener,{capture: true})
capture is true.
How can I find out if it is not the current tab to be closed?
Thank you!
Marc
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No