mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
Merge "Fix return value of TitleInputWidget.looksLikeExternalLink()"
This commit is contained in:
commit
3c2223fd3b
|
@ -148,7 +148,7 @@ TitleInputWidget.prototype.getOverlay = function () {
|
|||
* @return {boolean}
|
||||
*/
|
||||
TitleInputWidget.prototype.looksLikeExternalLink = function ( urlString ) {
|
||||
this.constructor.static.urlRegex.test( urlString );
|
||||
return this.constructor.static.urlRegex.test( urlString );
|
||||
};
|
||||
|
||||
module.exports = TitleInputWidget;
|
||||
|
|
Loading…
Reference in a new issue