From a6dfcdbe8b63727e401355d49005a6a41084176c Mon Sep 17 00:00:00 2001 From: Connor Montgomery Date: Tue, 25 Feb 2014 13:16:02 -0800 Subject: [PATCH] Revert "Fix js error when viewing on desktop." This reverts commit 02d13dc2ba2e9261b31bf62c7ff3607562ced08b. --- assets/js/docs.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/assets/js/docs.js b/assets/js/docs.js index 8739f36..b016137 100644 --- a/assets/js/docs.js +++ b/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'); }); });