Skip to content

Commit

Permalink
Move most of the quick lexicon to top.
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Feb 17, 2024
1 parent b391f2c commit 482eb63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ var QuickLexicon = Backbone.View.extend({
displayQuickDef: function(lexicon, headerText, augStrongNum) {
var self = this;
if ((typeof augStrongNum === "string") && (augStrongNum !== "")) self.augStrong = augStrongNum;
var quickDefPositionAtTop = ((self.position / self.height) > 0.2);
var quickDefPositionAtTop = ((self.position / self.height) > 0.25); // Changed from .4 to .25 to put most of the quick lexicon on top
if (quickDefPositionAtTop)
lexicon.css({"top": "0", "bottom": "auto"});
if ($('#sidebar:hover').length > 0)
Expand Down

0 comments on commit 482eb63

Please sign in to comment.