mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-21 00:03:09 -07:00
Fix width issue
This commit is contained in:
parent
ff96f2ae92
commit
ed62ee6110
2 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@ function highlightNew(code) {
|
|||
codes[i].style.removeProperty("background-color");
|
||||
}
|
||||
|
||||
const windowWidth = $(document).width();
|
||||
const windowWidth = $(window).width();
|
||||
console.log("Window width: " + windowWidth + " - MaxWidth: " + maxWidth)
|
||||
if(windowWidth > maxWidth)
|
||||
maxWidth = windowWidth;
|
||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue