Reset location input between opening the link inspector

This commit is contained in:
Trevor Parscal 2011-12-09 20:44:41 +00:00
parent 4b764f7524
commit ef35fc2be2

View file

@ -53,6 +53,8 @@ es.LinkInspector.prototype.onOpen = function() {
var title = this.getTitleFromSelection();
if ( title !== null ) {
this.$locationInput.val( title );
} else {
this.$locationInput.val( '' );
}
this.$locationInput.focus();
};