From 5a2e23637ba40175227a9de51d93cab83af2595f Mon Sep 17 00:00:00 2001 From: Randy Edmunds Date: Wed, 4 Dec 2013 17:20:10 -0800 Subject: [PATCH] fix tabbing in content --- src/extensions/default/WebPlatformDocs/InlineDocsViewer.html | 2 +- src/extensions/default/WebPlatformDocs/InlineDocsViewer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extensions/default/WebPlatformDocs/InlineDocsViewer.html b/src/extensions/default/WebPlatformDocs/InlineDocsViewer.html index c3c152e0a45..d2d3b15d219 100644 --- a/src/extensions/default/WebPlatformDocs/InlineDocsViewer.html +++ b/src/extensions/default/WebPlatformDocs/InlineDocsViewer.html @@ -17,5 +17,5 @@

{{propName}}

- {{Strings.DOCS_MORE_LINK}} + {{Strings.DOCS_MORE_LINK}} \ No newline at end of file diff --git a/src/extensions/default/WebPlatformDocs/InlineDocsViewer.js b/src/extensions/default/WebPlatformDocs/InlineDocsViewer.js index 607471342d1..e9df4160c93 100644 --- a/src/extensions/default/WebPlatformDocs/InlineDocsViewer.js +++ b/src/extensions/default/WebPlatformDocs/InlineDocsViewer.js @@ -194,14 +194,14 @@ define(function (require, exports, module) { // Set focus this.$scroller[0].focus(); - this.$wrapperDiv.on("keydown", this._onKeydown); + this.$wrapperDiv[0].addEventListener("keydown", this._onKeydown, true); }; InlineDocsViewer.prototype.onClosed = function () { InlineDocsViewer.prototype.parentClass.onClosed.apply(this, arguments); $(window).off("resize", this._sizeEditorToContent); - this.$wrapperDiv.off("keydown", this._onKeydown); + this.$wrapperDiv[0].removeEventListener("keydown", this._onKeydown, true); }; InlineDocsViewer.prototype._sizeEditorToContent = function () {