Wiki/MediaWiki:Common.js: Difference between revisions
From Catglobe Wiki
More actions
 Created page with "$(function () {   const key = 'cgkb-open-nodes';    // Hàm lưu node đang mở vào localStorage   function saveOpenNodes() {     const openNodes = [];     $('.CategoryTreeNode:has(.CategoryTreeToggleOpen)').each(function () {       const title = $(this).data('ct-title');       if (title) openNodes.push(title);     });     localStorage.setItem(key, JSON.stringify(openNodes));   }    // Hàm khôi phục trạng thái cây   function restoreOpenNodes() {     const openN..."  | 
				 Blanked the page Tags: Blanking Visual edit: Switched  | 
				||
| Line 1: | Line 1: | ||