Alexander преди 10 години
родител
ревизия
41cf154a60
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -1566,7 +1566,7 @@
 		};
 
 		// Reduce available space by margin
-		size.presentationWidth -= ( size.presentationHeight * config.margin );
+		size.presentationWidth -= ( size.presentationWidth * config.margin );
 		size.presentationHeight -= ( size.presentationHeight * config.margin );
 
 		// Slide width may be a percentage of available width