src/ztfy/myams/resources/js/ext/bootstrap-modal.js
changeset 206 02a40997d8cb
parent 174 8d81f90f1d08
--- a/src/ztfy/myams/resources/js/ext/bootstrap-modal.js	Fri May 12 14:03:02 2017 +0200
+++ b/src/ztfy/myams/resources/js/ext/bootstrap-modal.js	Thu Oct 26 14:45:34 2017 +0200
@@ -139,7 +139,7 @@
 				if (body.css('overflow') === undefined) {
 					body.style('overflow', 'auto', 'important');
 				}
-				body.style(prop, (typeof(value) == 'function' ? value() : value) + 'px', 'important');
+				body.style(prop, (typeof(value) === 'function' ? value() : value) + 'px', 'important');
 			}
 
 			var modalOverflow = $(window).height() - 10 < this.$element.height();