mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau
MozReview-Commit-ID: 4uEqkVbqcsC --HG-- extra : rebase_source : 384969e88f8fb3ed23187c12d305acc113cf6a2c
This commit is contained in:
parent
148050f0fb
commit
df13b10281
@ -193,14 +193,14 @@ const getRelativeRect = function (node, relativeTo) {
|
||||
* Defaults to true. The tooltip is closed when clicking outside.
|
||||
* Should this event be stopped and consumed or not.
|
||||
* - {Boolean} useXulWrapper
|
||||
* Defaults to true. If the tooltip is hosted in a XUL document, use a XUL panel
|
||||
* Defaults to false. If the tooltip is hosted in a XUL document, use a XUL panel
|
||||
* in order to use all the screen viewport available.
|
||||
*/
|
||||
function HTMLTooltip(toolbox, {
|
||||
type = "normal",
|
||||
autofocus = false,
|
||||
consumeOutsideClicks = true,
|
||||
useXulWrapper = true,
|
||||
useXulWrapper = false,
|
||||
} = {}) {
|
||||
EventEmitter.decorate(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user