mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
[Prototype] Add screen resolution to Typography prototype
Adds screen resolution (`${window.innerWidth} x ${window.innerHeight}`) to the prefilled feedback form for the typography prototype. Change-Id: I38ec6fe5232c1d90df6d5d56b0f0cb32acdcc64e
This commit is contained in:
parent
e2fc864c2d
commit
0232752097
|
@ -93,6 +93,7 @@ module.exports = exports = {
|
|||
[ 'preloadparams[]', this.lineHeight ],
|
||||
[ 'preloadparams[]', this.verticalMargins ],
|
||||
[ 'preloadparams[]', window.location.href ],
|
||||
[ 'preloadparams[]', `${window.innerWidth} x ${window.innerHeight}` ],
|
||||
[ 'preloadtitle', ( mw.user.getName() ) ? 'User: ' + mw.user.getName() : '' ]
|
||||
] );
|
||||
return "https://www.mediawiki.org/wiki/Reading/Web/Accessibility_for_reading/Community_Prototype_Testing/Feedback?" + feedbackUrlParams.toString();
|
||||
|
|
Loading…
Reference in a new issue