MDL-67513 core: Only move modal to body if currently attached
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 16 Nov 2020 07:19:28 +0000 (15:19 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 16 Nov 2020 07:19:32 +0000 (15:19 +0800)
commit78962293efff164b1145e3e4d0ef9ce1dae52a72
tree7a6c37cce7c2fe31e834490007a729fa1f8e6bbd
parent524253382c621d1e030b620ec89ec9d1d047073c
MDL-67513 core: Only move modal to body if currently attached

A previous change as part of this commitset was intended to move the
modal to the document.body, but where the modal had been destroyed it
was instead added back to the body.
lib/amd/build/modal.min.js
lib/amd/build/modal.min.js.map
lib/amd/build/modal_backdrop.min.js
lib/amd/build/modal_backdrop.min.js.map
lib/amd/src/modal.js
lib/amd/src/modal_backdrop.js