AK51 commited on
Commit
2e6d96f
·
verified ·
1 Parent(s): 4345394

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -11
index.html CHANGED
@@ -467,9 +467,7 @@
467
  <div id="spectrum-container"></div>
468
  </div>
469
  </div>
470
- <div id="controls-info">
471
- <p class="mobile-controls" style="display: none;">Tap an element to view its spectrum | Touch to rotate, pinch to zoom</p>
472
- </div>
473
  </div>
474
  <footer>
475
  <p>Created by Andy Kong | Data from <a href="https://www.nist.gov/pml/atomic-spectra-database" target="_blank">NIST</a></p>
@@ -1690,14 +1688,6 @@
1690
  // Detect mobile device
1691
  const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) || window.innerWidth <= 768;
1692
 
1693
- // Update controls info text for mobile
1694
- if (isMobile) {
1695
- const mobileControls = document.querySelector('.mobile-controls');
1696
- if (mobileControls) {
1697
- mobileControls.style.display = 'block';
1698
- }
1699
- }
1700
-
1701
  // Show app container first so we can get proper dimensions
1702
  document.getElementById('app-container').style.display = 'block';
1703
 
 
467
  <div id="spectrum-container"></div>
468
  </div>
469
  </div>
470
+
 
 
471
  </div>
472
  <footer>
473
  <p>Created by Andy Kong | Data from <a href="https://www.nist.gov/pml/atomic-spectra-database" target="_blank">NIST</a></p>
 
1688
  // Detect mobile device
1689
  const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) || window.innerWidth <= 768;
1690
 
 
 
 
 
 
 
 
 
1691
  // Show app container first so we can get proper dimensions
1692
  document.getElementById('app-container').style.display = 'block';
1693