mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Merge "Documentation: Update README instructions for debugging"
This commit is contained in:
commit
e91ccd3aaf
|
@ -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