CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 307: | Line 307: | ||
delete element; | delete element; | ||
− | if(window.innerWidth > | + | if(window.innerWidth > 1025){ |
− | if(window.innerWidth < | + | if(window.innerWidth < 1367){ |
document.getElementById('f_circle_text').setAttribute('x', '-210'); | document.getElementById('f_circle_text').setAttribute('x', '-210'); | ||
document.getElementById('s_circle_text').setAttribute('x', '200'); | document.getElementById('s_circle_text').setAttribute('x', '200'); | ||
document.getElementById('t_circle_text').setAttribute('x', '615'); | document.getElementById('t_circle_text').setAttribute('x', '615'); | ||
+ | console.log('Both ifs where run'); | ||
} | } | ||
+ | console.log('Only one if was run'); | ||
} | } | ||
</script> | </script> |
Revision as of 20:03, 5 September 2017