mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Documentation: Update README instructions for debugging
Change-Id: Iacd45a5849f4f22de229670bce43f12e7041511e
This commit is contained in:
parent
d9fff48280
commit
b40a6b859d
|
@ -60,7 +60,13 @@ Popups works with a local copy of the [Mobile Content Service] too:
|
|||
without it popping in and out of the DOM. A useful workaround in
|
||||
DevTools is to context click a link, select inspect, move the cursor
|
||||
some place comfortable, and then from the console enter
|
||||
`$($0).trigger('mouseenter')`.
|
||||
```
|
||||
$0.dispatchEvent(new MouseEvent("mouseover", {
|
||||
view: window,
|
||||
bubbles: true,
|
||||
cancelable: true,
|
||||
}));
|
||||
```
|
||||
* As described in [[#Development]], `npm start` enables Redux DevTools
|
||||
functionality. In production builds, this same functionality can be
|
||||
enabled by setting a `debug=true` query. E.g.,
|
||||
|
|
Loading…
Reference in a new issue