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