Skip to content

Commit

Permalink
1.0.6
Browse files Browse the repository at this point in the history
- pass ESLint
  • Loading branch information
radiantmediaplayer committed Oct 16, 2020
1 parent 375ec77 commit 8252cc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ document.addEventListener('keydown', _onKeyDown);

// user agent info
var viewportSize = document.getElementById('viewportSize');
var innerWidth = window.innerWidth;
var innerHeight = window.innerHeight;
viewportSize.innerHTML = 'width: ' + innerWidth + ' - height: ' + innerHeight;
viewportSize.innerHTML = 'width: ' + window.innerWidth + ' - height: ' + window.innerHeight;

0 comments on commit 8252cc2

Please sign in to comment.