Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
linked to #577
  • Loading branch information
scriptPilot authored and scriptPilot committed May 22, 2017
1 parent e4edd8a commit 08c9ecc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,18 +447,22 @@ mixins.manageApplicationFrame = {
: 'noFrame'
// Update classes
if (mode === 'phoneFrame') {
window.Dom7('body').css('background', '#fafafa')
window.Dom7('body').addClass('phoneFrame')
window.Dom7('body').removeClass('limitHeight')
window.Dom7('body').removeClass('limitWidth')
} else if (mode === 'limitBoth') {
window.Dom7('body').css('background', '#333333')
window.Dom7('body').removeClass('phoneFrame')
window.Dom7('body').addClass('limitHeight')
window.Dom7('body').addClass('limitWidth')
} else if (mode === 'limitHeight') {
window.Dom7('body').css('background', '#333333')
window.Dom7('body').removeClass('phoneFrame')
window.Dom7('body').addClass('limitHeight')
window.Dom7('body').removeClass('limitWidth')
} else if (mode === 'limitWidth') {
window.Dom7('body').css('background', '#333333')
window.Dom7('body').removeClass('phoneFrame')
window.Dom7('body').removeClass('limitHeight')
window.Dom7('body').addClass('limitWidth')
Expand Down

0 comments on commit 08c9ecc

Please sign in to comment.