diff --git a/apply.js b/apply.js index 3d95fc4e..9456dc36 100644 --- a/apply.js +++ b/apply.js @@ -84,7 +84,8 @@ function disableAll(disable) { function disableSheets(disable, doc) { Array.prototype.forEach.call(doc.styleSheets, function(stylesheet) { - if (stylesheet.ownerNode.classList.contains("stylus")) { + if (stylesheet.ownerNode.classList.contains("stylus") + && stylesheet.disabled != disable) { stylesheet.disabled = disable; } });