Last opened modal has data attr data-top="true", rest has data-top="false". When the top modal is closed, the previous one receive attr data-top="true".
It is helpfull for nested modals, you can select the top modal and the rest modals by CSS clasess.
Last opened modal has data attr
data-top="true"
, rest hasdata-top="false"
. When the top modal is closed, the previous one receive attrdata-top="true"
.It is helpfull for nested modals, you can select the top modal and the rest modals by CSS clasess.
I really appreciate, if you approve these changes, or modify with the same result. Thank you!