mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 00:24:12 +03:00
Fix post-installation sound check for a case with disabled mod_rewrite
This commit is contained in:
parent
973632b4ae
commit
874e896178
@ -18,16 +18,17 @@
|
||||
|
||||
(function(Mibew, $) {
|
||||
$(document).ready(function() {
|
||||
var basePath = window.location.href.replace(/install\.php\/install\/done$/, 'install/done');
|
||||
$('#check-new-visitor').click(function(){
|
||||
Mibew.Utils.playSound('../sounds/new_user');
|
||||
Mibew.Utils.playSound(basePath + '/../../sounds/new_user');
|
||||
});
|
||||
|
||||
$('#check-new-message').click(function() {
|
||||
Mibew.Utils.playSound('../sounds/new_message');
|
||||
Mibew.Utils.playSound(basePath + '/../../sounds/new_message');
|
||||
});
|
||||
|
||||
$('#check-invitation').click(function() {
|
||||
Mibew.Utils.playSound('../sounds/invite');
|
||||
Mibew.Utils.playSound(basePath + '/../../sounds/invite');
|
||||
});
|
||||
});
|
||||
})(Mibew, jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user