Index: trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js |
— | — | @@ -53,6 +53,8 @@ |
54 | 54 | var title = this.getTitleFromSelection(); |
55 | 55 | if ( title !== null ) { |
56 | 56 | this.$locationInput.val( title ); |
| 57 | + } else { |
| 58 | + this.$locationInput.val( '' ); |
57 | 59 | } |
58 | 60 | this.$locationInput.focus(); |
59 | 61 | }; |