From 2444c2c80471ef0ee4e34bddf4408548ced17291 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Fri, 8 Jun 2012 14:34:46 -0500 Subject: [PATCH] fixed bug with Modernizr classes not being added when a feature is not supported --- .themes/classic/source/javascripts/octopress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index 5c95d91..74d33dc 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -68,7 +68,7 @@ var octopress = (function(){ } getClass = function (test) { - return ((Modernizr.testAllProps(test) ? test : "no-"+features[i]).toLowerCase()) + return ((Modernizr.testAllProps(test) ? test : "no-"+test).toLowerCase()) } $('html').addClass(getTestClasses(features));