1 2 3export default function ToggleLang() { 4 const toggleLang = $(".toggle-lang"); 5 6 if (toggleLang) { 7 toggleLang.on("click", function () { 8 $(this).next().slideToggle(500); 9 $(this).toggleClass("is-select"); 10 }); 11 $(document).mouseup(function (e) { 12 if (!toggleLang.is(e.target) && toggleLang.has(e.target).length === 0) { 13 toggleLang.next().slideUp(500); 14 toggleLang.removeClass("is-select"); 15 } 16 }); 17 } 18}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.