diff --git a/src/remodal.js b/src/remodal.js index 9445dbb..981cea2 100644 --- a/src/remodal.js +++ b/src/remodal.js @@ -192,7 +192,7 @@ } } - return num; + return max; } /**