Browse Source

Derp.

Revert "Merge pull request #257 from connor/master"

This reverts commit 74e75a9f46, reversing
changes made to bfb8df9269.
pull/266/head
Connor Montgomery 11 years ago
parent
commit
c6987c11da
  1. 3
      docs/assets/js/docs.js

3
docs/assets/js/docs.js

@ -38,7 +38,6 @@ $(function() {
footerHeight = $('.docs-footer').outerHeight(false); footerHeight = $('.docs-footer').outerHeight(false);
toolbarToggle = $('.js-docs-component-toolbar'); toolbarToggle = $('.js-docs-component-toolbar');
if (!device.length) return
// Device placement // Device placement
if (windowWidth >= 768) { if (windowWidth >= 768) {
device.initialLeft = device.offset().left; device.initialLeft = device.offset().left;
@ -168,8 +167,6 @@ $(function() {
} }
} }
if (!device) return
$(window).on('load resize', initialize); $(window).on('load resize', initialize);
$(window).on('load', function () { new FingerBlast('.device-content'); }); $(window).on('load', function () { new FingerBlast('.device-content'); });
}); });

Loading…
Cancel
Save