Skip to content

Commit 669ad62

Browse files
committed
Fixed js error occuring when minified.
1 parent 08bfea3 commit 669ad62

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/static/js/main.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
$(document).ready(function() {
2+
23
if (!Modernizr.input.placeholder) {
34
var script = document.createElement( 'script' );
45
script.type = "text/javascript";
56
script.src = '/static/js/libs/jquery.placeholder.js';
67
$('body').append(script);
78
$('input').placeholder();
8-
}
9+
}
910

10-
<!-- Share plugin -->
11+
// Share plugin
1112
$('.share-js').share({
1213
url: 'http://guildbit.com',
1314
text: 'Guildbit - Free 10 slot Mumble servers. No registration required!',
1415
button_text: 'Share Us!'
15-
});
16+
});
1617

17-
<!-- Download Mumble OS chooser -->
18+
// Download Mumble OS chooser
1819
if (os.indexOf("Linux") !== -1 && ua.indexOf("android") === -1) {
1920
$('#os-download #os-text').text(_LinuxDownload);
2021
$('#os-download #download-link i').removeClass('fa-windows');

0 commit comments

Comments
 (0)