Browse Source

Revert "Fix js error when viewing on desktop."

This reverts commit 02d13dc2ba.
pull/290/head
Connor Montgomery 11 years ago
parent
commit
a6dfcdbe8b
  1. 4
      assets/js/docs.js

4
assets/js/docs.js

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

Loading…
Cancel
Save