mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Automatically reposition event target on scroll.
This commit is contained in:
		| @@ -447,6 +447,12 @@ var GuacamoleUI = { | ||||
|     GuacamoleUI.eventTarget.setAttribute("autocorrect", "off"); | ||||
|     GuacamoleUI.eventTarget.setAttribute("autocapitalize", "off"); | ||||
|  | ||||
|     // Automatically reposition event target on scroll | ||||
|     window.addEventListener("scroll", function() { | ||||
|         GuacamoleUI.eventTarget.style.left = window.pageXOffset + "px"; | ||||
|         GuacamoleUI.eventTarget.style.top = window.pageYOffset + "px"; | ||||
|     }); | ||||
|  | ||||
| })(); | ||||
|  | ||||
| // Tie UI events / behavior to a specific Guacamole client | ||||
|   | ||||
		Reference in New Issue
	
	Block a user