From 4b3000f8a27bb5b916e395515a62acd2d288fa6c 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 08928e7..cbe2bcc 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -67,7 +67,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));