mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
removeChild(), not removeNode()
This commit is contained in:
@@ -482,7 +482,7 @@ function GuacamoleClient(display, tunnelURL) {
|
||||
|
||||
// If already present, remove
|
||||
if (layers[i].parentNode === display)
|
||||
display.removeNode(layers[i]);
|
||||
display.removeChild(layers[i]);
|
||||
|
||||
// Add to end
|
||||
display.appendChild(layers[i]);
|
||||
@@ -492,7 +492,7 @@ function GuacamoleClient(display, tunnelURL) {
|
||||
// Add cursor layer last
|
||||
if (cursor != null) {
|
||||
if (cursor.parentNode === display)
|
||||
display.removeNode(cursor);
|
||||
display.removeChild(cursor);
|
||||
display.appendChild(cursor);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user