fix navigation resizing with window scroll
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
This commit is contained in:
parent
286d94d424
commit
4c1951a06e
@ -754,6 +754,8 @@ var ResizeHandler = function () {
|
||||
this.getPos = function (event) {
|
||||
var pos = event.pageX;
|
||||
var windowWidth = $(window).width();
|
||||
var windowScroll = $(window).scrollLeft();
|
||||
pos = pos - windowScroll;
|
||||
if (this.left != 'left') {
|
||||
pos = windowWidth - event.pageX;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user