Browse Source

code format tweak

Hakim El Hattab 11 years ago
parent
commit
c87d7db930
1 changed files with 2 additions and 4 deletions
  1. 2 4
      plugin/markdown/markdown.js

+ 2 - 4
plugin/markdown/markdown.js

@@ -219,10 +219,8 @@
 
 				xhr.onreadystatechange = function() {
 					if( xhr.readyState === 4 ) {
-						if (
-							(xhr.status >= 200 && xhr.status < 300) ||
-							xhr.status === 0 // file protocol yields status code 0 (useful for local debug, mobile applications etc.)
-							) {
+						// file protocol yields status code 0 (useful for local debug, mobile applications etc.)
+						if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) {
 
 							section.outerHTML = slidify( xhr.responseText, {
 								separator: section.getAttribute( 'data-separator' ),