Skip to content

Commit 203a79f

Browse files
committed
Fix issue with safari
1 parent 196f837 commit 203a79f

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

app/public/css/main.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,15 @@ footer{
217217

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

220+
#config-area{
221+
padding: 0px;
222+
min-height: 600px;
223+
}
224+
220225
.site-description{
221226
font-size: 1em;
222227
line-height: 1.6em;
223-
width: 90%;
228+
width: 50%;
224229
margin: 0 auto;
225230
}
226231

app/public/js/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,15 @@ function playFromQueueExchange2(){
254254

255255
// This method capitalizes the string in place
256256
String.prototype.capitalize=function(all){
257+
try{
257258
if(all){
258259
return this.split(' ').map(e=>e.capitalize()).join(' ');
259260
}else{
260261
return this.charAt(0).toUpperCase() + this.slice(1);
261262
}
263+
}catch(err){
264+
return all;
265+
}
262266
}
263267

264268

0 commit comments

Comments
 (0)