Skip to content

Commit

Permalink
Update chatlog-parser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ulasbayraktar committed Jun 20, 2024
1 parent 43c68ef commit baf09cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/chatlog-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ $(document).ready(function() {
});
var r = $.jStorage.get("lastFontSize"),
o = $.jStorage.get("lastLineHeight");
r || o ? ($(".output").css({
r || o ? ($(".output").css({
"font-size": $.jStorage.get("lastFontSize") + "px",
"line-height": $.jStorage.get("lastLineHeight") + "px",
"line-height": ($.jStorage.get("lastFontSize") - 10) + "px",
}),
$("#font-label").text(
"font size (" + $.jStorage.get("lastFontSize") + "px):"
Expand All @@ -87,7 +87,7 @@ $(document).ready(function() {
if (newSize >= 1 && newSize <= 64) {
$(".output").css({
"font-size": newSize + "px",
"line-height": newSize + "px",
"line-height": (newSize - 10) + "px",
});
$("#font-label").text("font size (" + newSize + "px):");
$.jStorage.set("lastFontSize", newSize);
Expand Down

0 comments on commit baf09cc

Please sign in to comment.