(function () { var box = document.getElementById("commitdiff"); if (!box) { return; } var mode = "inline"; try { if (localStorage.getItem("bluegit-diff") === "side") { mode = "side"; } } catch (e) {} box.setAttribute("data-mode", mode); })();