Files
Krystie 092a8bc7ce refactor: organize codebase and remove redundant files
- Removed all backup/duplicate files
- Removed test files from root
- Consolidated documentation to /docs/
- Moved scripts to /scripts/
- Renamed f_* directories (removed prefix)
- Organized icons and assets
- Removed unused vendor directories
- Cleaned up redundant config files
2026-03-30 16:34:45 -07:00

34 lines
858 B
JavaScript

(function () {
[].slice.call(document.querySelectorAll('.tabs')).forEach(function (el) {
new CBPFWTabs(el);
});
})();
function oldSafariCSSfix() {
if (isOldSafari()) {
var tabnr = 4;
var width = jQuery('#siteContent').width() - 32;
jQuery("#div-share nav ul li").width((width / tabnr) - 1).css("float", "left");
jQuery(".tabs nav").css("width", (width + 1));
}
}
$(document).ready(function() {
$(document).on("click", ".tabs ul:not(.fileThumbs) li", function() {
if ($(this).find("a").attr("href") == "#section-thumb") {
$(".save-entry-button").hide();
} else {
$(".save-entry-button").show();
}
});
});
jQuery(window).load(function () {
oldSafariCSSfix();
});
jQuery(window).resize(function () {
oldSafariCSSfix();
});