MDL-63094 js: Do not check visibility before hiding backdrop
commit4d1a42fb7c429f3df99eba5ed3bead8d60cc81c6
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 8 Aug 2018 01:58:44 +0000 (8 09:58 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 22 Aug 2018 02:23:30 +0000 (22 10:23 +0800)
treea90bbc96d11641131028dc3b1dce740104fd153f
parent4b6780417e5c8de14e9a1eeb1d768f6271f2a852
MDL-63094 js: Do not check visibility before hiding backdrop

It's possible for the backdrop to be created during the show, before the
modal is actually fully shown.

This check is unnecessary because the getBackdrop() function always
returns a value and will always succeed.
lib/amd/build/modal.min.js
lib/amd/src/modal.js