Merge "Fix return value of TitleInputWidget.looksLikeExternalLink()"

This commit is contained in:
jenkins-bot 2022-04-20 07:45:58 +00:00 committed by Gerrit Code Review
commit 3c2223fd3b

View file

@ -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;