diff --git a/mozilla/mail/base/content/nsContextMenu.js b/mozilla/mail/base/content/nsContextMenu.js index 01ab5c7df0a..1e447e63e37 100644 --- a/mozilla/mail/base/content/nsContextMenu.js +++ b/mozilla/mail/base/content/nsContextMenu.js @@ -268,7 +268,6 @@ nsContextMenu.prototype = { if ( this.target.ownerDocument instanceof ImageDocument ) this.onStandaloneImage = true; } else if ( this.target instanceof HTMLInputElement) { - type = this.target.getAttribute("type"); this.onTextInput = this.isTargetATextBox(this.target); } else if ( this.target instanceof HTMLTextAreaElement ) { this.onTextInput = true; diff --git a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js index d0a9a904f66..b27c6a0b17b 100644 --- a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js +++ b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js @@ -296,7 +296,6 @@ nsContextMenu.prototype = { if ( this.target.ownerDocument instanceof ImageDocument ) this.onStandaloneImage = true; } else if ( this.target instanceof HTMLInputElement ) { - type = this.target.getAttribute("type"); this.onTextInput = this.isTargetATextBox(this.target); } else if ( this.target instanceof HTMLTextAreaElement ) { this.onTextInput = true;