mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Fix documentation for GridLayout to add a return type"
This commit is contained in:
commit
a8371251d3
|
@ -155,6 +155,7 @@ ve.ui.GridLayout.prototype.update = function () {
|
|||
* @method
|
||||
* @param {number} x Horizontal position
|
||||
* @param {number} y Vertical position
|
||||
* @returns {ve.ui.PanelLayout} The panel at the given postion
|
||||
*/
|
||||
ve.ui.GridLayout.prototype.getPanel = function ( x, y ) {
|
||||
return this.panels[( x * this.widths.length ) + y];
|
||||
|
|
Loading…
Reference in a new issue