mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
fix internal pointers for window resize handler in review code
This commit is contained in:
parent
92f085f561
commit
fb1f22b248
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ $(document).ready(function () {
|
|||
// handle window resize
|
||||
var resizeHandler = function () {
|
||||
self.element.css({
|
||||
'top': (window.innerHeight - dialog.height()) / 3,
|
||||
'left': (window.innerWidth - dialog.width()) / 2
|
||||
'top': (window.innerHeight - self.element.height()) / 3,
|
||||
'left': (window.innerWidth - self.element.width()) / 2
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue