Skip to content

Commit

Permalink
Apply Editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
steelydylan committed Nov 17, 2016
1 parent 2615ae5 commit e0f1904
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/hiraku.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@
$(document).on('click', '.js-hiraku-offcanvas-btn', function(e) {
var $target = $($(this).data('toggle-offcanvas'));
$('<button type="button">Close Offcanvas-Menu Button</button>')
.attr('aria-label', 'Close')
.addClass('js-hiraku-offcanvas-close-btn')
.appendTo($target);
.attr('aria-label', 'Close')
.addClass('js-hiraku-offcanvas-close-btn')
.appendTo($target);
var $this = $(this);
var $body = $('body').css({ 'width': $(window).width(), 'height': $(window).height() });
var $sidebar = $target.find('.js-hiraku-offcanvas-sidebar');
var $first = $target.find(focusableElements).first();
var $last = $target.find(focusableElements).last();
var $first = $target.find(focusableElements).first();
var $last = $target.find(focusableElements).last();
$first.off('keydown.hiraku-offcanvas').on('keydown.hiraku-offcanvas', function(e) {
if ((e.which === 9 && e.shiftKey)) {
e.preventDefault();
Expand Down

0 comments on commit e0f1904

Please sign in to comment.