Skip to content

Commit

Permalink
升级到4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
myhhub committed Jun 5, 2024
1 parent cd34f0c commit ca2eddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions instock/web/templates/stock_web.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
initEvent(spread, statusBar);
const elem = document.querySelector('#instock-data')
{
let prevWidth
let prevWidth;
new ResizeObserver(changes => {
for(const change of changes){
if(change.contentRect.width === prevWidth) return
if(change.contentRect.width === prevWidth) {return;}
spread.refresh();
}
}).observe(elem)
}).observe(elem);
};

$( ".date-picker" ).datepicker({
Expand Down

0 comments on commit ca2eddd

Please sign in to comment.