mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 08:50:33 +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
|
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
|
DevTools is to context click a link, select inspect, move the cursor
|
||||||
some place comfortable, and then from the console enter
|
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
|
* As described in [[#Development]], `npm start` enables Redux DevTools
|
||||||
functionality. In production builds, this same functionality can be
|
functionality. In production builds, this same functionality can be
|
||||||
enabled by setting a `debug=true` query. E.g.,
|
enabled by setting a `debug=true` query. E.g.,
|
||||||
|
|
Loading…
Reference in a new issue