Found a bug in SimpleModal 1.33

- If Content Height is Greater Than the Minimum Height, the Content
Height should be Minimum Height.
+ If Content Height is Less Than the Minimum Height, the Content
Height should be Minimum Height.

@@ -463,7 +463,7 @@
                                        }
                                }
                                else {
-                                       ch = ch > mh ? mh : ch;
+                                       ch = ch < mh ? mh : ch;
                                }

- If Content Width is Greater Than the Minimum Width, the Content
Width should be Minimum Width.
+ If Content Width is Less Than the Minimum Width, the Content Width
should be Minimum Width.

@@ -476,14 +476,13 @@
                                        }
                                }
                                else {
-                                       cw = cw > mw ? mw : cw;
+                                       cw = cw < mw ? mw : cw;
                                }

Reply via email to