mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 18:14:12 +01:00
Fix MOW resize loop bug.
This commit is contained in:
@@ -184,7 +184,8 @@ var MOW = Module("mow", {
|
|||||||
|
|
||||||
windowEvents: {
|
windowEvents: {
|
||||||
resize: function onResize(event) {
|
resize: function onResize(event) {
|
||||||
this._resize.tell();
|
if (event.target == window)
|
||||||
|
this._resize.tell();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user