mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Set popup behavior weight to -100.
...so that behaviors that use instance.popup.on() (including asset_type_layers) don't need to worry about setting their weight heavier.
This commit is contained in:
parent
fcf32771bd
commit
8f9123b975
|
@ -47,6 +47,9 @@
|
|||
return content;
|
||||
});
|
||||
},
|
||||
weight: 100,
|
||||
|
||||
// Make sure this runs early so other behaviors can dispatch popup events
|
||||
// with instance.popup.on().
|
||||
weight: -100,
|
||||
};
|
||||
}());
|
||||
|
|
|
@ -104,9 +104,6 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// Make sure this runs after farmOS.map.behaviors.popup.
|
||||
weight: 101,
|
||||
}
|
||||
};
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue