diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-14 19:00:09 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-14 19:00:09 +0000 |
| commit | 8710edff2c70d9d012e2bd94fc150cca6941edbd (patch) | |
| tree | 3023aacbd4834ea74bf23c1ee224d19e29cc90ea /roundcubemail/program/js/common.js | |
| parent | 2ba91f99c7fd47717744a8cec55db0a79db5e2e9 (diff) | |
#1485444: fix drag layer over an iframe
git-svn-id: https://svn.roundcube.net/trunk@2150 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/common.js')
| -rw-r--r-- | roundcubemail/program/js/common.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js index 4b877bac3..5923989ec 100644 --- a/roundcubemail/program/js/common.js +++ b/roundcubemail/program/js/common.js @@ -158,6 +158,11 @@ get_mouse_pos: function(e) mY += document.body.scrollTop; } + if (e._offset) { + mX += e._offset.x; + mY += e._offset.y; + } + return { x:mX, y:mY }; }, |
