Skip to content

Commit

Permalink
fix tabbing in content
Browse files Browse the repository at this point in the history
  • Loading branch information
redmunds committed Dec 5, 2013
1 parent ded99a5 commit 5a2e236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ <h1>{{propName}}</h1>
</div>
</div>
<div class="content-bottom"></div>
<a class="more-info no-focus" href="{{url}}" title="{{url}}">{{Strings.DOCS_MORE_LINK}}</a>
<a class="more-info" href="{{url}}" title="{{url}}">{{Strings.DOCS_MORE_LINK}}</a>
</div>
4 changes: 2 additions & 2 deletions src/extensions/default/WebPlatformDocs/InlineDocsViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 5a2e236

Please sign in to comment.