forked from mystiq/hydrogen-web
fix legacy spinner
This commit is contained in:
parent
1a518cdd28
commit
98be9a8f4d
1 changed files with 3 additions and 1 deletions
|
@ -14,8 +14,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const container = document.querySelector(".hydrogen");
|
||||||
|
|
||||||
export function spinner(t, extraClasses = undefined) {
|
export function spinner(t, extraClasses = undefined) {
|
||||||
if (document.body.classList.contains("ie11")) {
|
if (container.classList.contains("legacy")) {
|
||||||
return t.div({className: "spinner"}, [
|
return t.div({className: "spinner"}, [
|
||||||
t.div(),
|
t.div(),
|
||||||
t.div(),
|
t.div(),
|
||||||
|
|
Loading…
Reference in a new issue