mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-18 12:57:24 +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, $) {
|
(function(Mibew, $) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
var basePath = window.location.href.replace(/install\.php\/install\/done$/, 'install/done');
|
||||||
$('#check-new-visitor').click(function(){
|
$('#check-new-visitor').click(function(){
|
||||||
Mibew.Utils.playSound('../sounds/new_user');
|
Mibew.Utils.playSound(basePath + '/../../sounds/new_user');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#check-new-message').click(function() {
|
$('#check-new-message').click(function() {
|
||||||
Mibew.Utils.playSound('../sounds/new_message');
|
Mibew.Utils.playSound(basePath + '/../../sounds/new_message');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#check-invitation').click(function() {
|
$('#check-invitation').click(function() {
|
||||||
Mibew.Utils.playSound('../sounds/invite');
|
Mibew.Utils.playSound(basePath + '/../../sounds/invite');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
})(Mibew, jQuery);
|
})(Mibew, jQuery);
|
||||||
|
Loading…
Reference in New Issue
Block a user