mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge pull request #335 from dkanada/options
Always show options menu next to mouse
This commit is contained in:
commit
549d982e77
@ -41,10 +41,6 @@ define(['dialogHelper', 'layoutManager', 'globalize', 'browser', 'dom', 'emby-bu
|
|||||||
var windowHeight = windowSize.innerHeight;
|
var windowHeight = windowSize.innerHeight;
|
||||||
var windowWidth = windowSize.innerWidth;
|
var windowWidth = windowSize.innerWidth;
|
||||||
|
|
||||||
if (windowWidth < 600 || windowHeight < 600) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
var pos = getOffsets([options.positionTo])[0];
|
var pos = getOffsets([options.positionTo])[0];
|
||||||
|
|
||||||
if (options.positionY !== 'top') {
|
if (options.positionY !== 'top') {
|
||||||
|
Loading…
Reference in New Issue
Block a user