src/pyams_skin/resources/js/ext/bootstrap-modal.js
changeset 176 308f11404e60
parent 151 2c67b6c103bb
--- a/src/pyams_skin/resources/js/ext/bootstrap-modal.js	Fri Dec 09 11:51:01 2016 +0100
+++ b/src/pyams_skin/resources/js/ext/bootstrap-modal.js	Tue Dec 20 14:18:35 2016 +0100
@@ -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();