Remove unneeded code.
This commit is contained in:
parent
e6a5648a59
commit
0cbcbd8212
1 changed files with 0 additions and 3 deletions
|
|
@ -81,12 +81,9 @@ export default {
|
||||||
checkHeight() {
|
checkHeight() {
|
||||||
const parentHeight = document.getElementById('infoBox').clientHeight;
|
const parentHeight = document.getElementById('infoBox').clientHeight;
|
||||||
const wrapper = document.getElementById('stacked');
|
const wrapper = document.getElementById('stacked');
|
||||||
const goWide = document.getElementById('go-wide');
|
|
||||||
if (parentHeight > 80) {
|
if (parentHeight > 80) {
|
||||||
wrapper.classList.add("justify-content-start");
|
wrapper.classList.add("justify-content-start");
|
||||||
wrapper.classList.remove("justify-content-end");
|
wrapper.classList.remove("justify-content-end");
|
||||||
wrapper.classList.add("justify-content-start");
|
|
||||||
wrapper.classList.remove("justify-content-end");
|
|
||||||
} else {
|
} else {
|
||||||
wrapper.classList.add("justify-content-end");
|
wrapper.classList.add("justify-content-end");
|
||||||
wrapper.classList.remove("justify-content-start");
|
wrapper.classList.remove("justify-content-start");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue