Bug fixed
This commit is contained in:
1 parent
1edaadd71e
commit
dba1318352
2 files changed
+21
-20
No files matched your search
@@ -413,14 +413,14 @@ function newFloatingObject () {
|
||||
removeFocus()
|
||||
}
|
||||
|
||||
function someoneAquiredFocus (container) {
|
||||
if (container === undefined) {
|
||||
function someoneAquiredFocus (floatingObject) {
|
||||
if (floatingObject === undefined || floatingObject.container === undefined) {
|
||||
return
|
||||
}
|
||||
if (thisObject.container === undefined) {
|
||||
return
|
||||
}
|
||||
if (container.id !== thisObject.container.id) {
|
||||
if (floatingObject.container.id !== thisObject.container.id) {
|
||||
removeFocus()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user