Skip to content

Commit

Permalink
Fix issue with safari
Browse files Browse the repository at this point in the history
  • Loading branch information
debugger22 committed Oct 4, 2016
1 parent 196f837 commit 203a79f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,15 @@ footer{

@media only screen and (max-device-width: 480px) {

#config-area{
padding: 0px;
min-height: 600px;
}

.site-description{
font-size: 1em;
line-height: 1.6em;
width: 90%;
width: 50%;
margin: 0 auto;
}

Expand Down
4 changes: 4 additions & 0 deletions app/public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,15 @@ function playFromQueueExchange2(){

// This method capitalizes the string in place
String.prototype.capitalize=function(all){
try{
if(all){
return this.split(' ').map(e=>e.capitalize()).join(' ');
}else{
return this.charAt(0).toUpperCase() + this.slice(1);
}
}catch(err){
return all;
}
}


Expand Down

0 comments on commit 203a79f

Please sign in to comment.