Merge "Fix improper event reference for Safari"
This commit is contained in:
@@ -42,7 +42,7 @@ limitations under the License.
|
||||
|
||||
shouldSuppressKeyboardShortcut(e) {
|
||||
e = getKeyboardEvent(e);
|
||||
const tagName = Polymer.dom(event).rootTarget.tagName;
|
||||
const tagName = Polymer.dom(e).rootTarget.tagName;
|
||||
if (tagName === 'INPUT' || tagName === 'TEXTAREA') {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -166,8 +166,8 @@
|
||||
this._isEditing = false;
|
||||
},
|
||||
|
||||
_handleSaveRevision() {
|
||||
this._setProjectHead(this._project, this._revisedRef, event);
|
||||
_handleSaveRevision(e) {
|
||||
this._setProjectHead(this._project, this._revisedRef, e);
|
||||
},
|
||||
|
||||
_setProjectHead(project, ref, event) {
|
||||
|
||||
Reference in New Issue
Block a user