mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Fix forum reply JS dependency
This commit is contained in:
@@ -58,11 +58,15 @@ $(document).ready(function()
|
||||
}
|
||||
|
||||
// http://nijikokun.github.io/bootstrap-notify/
|
||||
$('#uiAlert').notify({
|
||||
type: alertType,
|
||||
message: { text: d.msg },
|
||||
fadeOut: { enabled: true, delay: 3000 }
|
||||
}).show();
|
||||
// fix - only if there
|
||||
if(jQuery().notify) {
|
||||
$('#uiAlert').notify({
|
||||
type: alertType,
|
||||
message: { text: d.msg },
|
||||
fadeOut: { enabled: true, delay: 3000 }
|
||||
}).show();
|
||||
}
|
||||
|
||||
|
||||
// alert(d.msg);
|
||||
}
|
||||
@@ -83,6 +87,7 @@ $(document).ready(function()
|
||||
$(d.html).appendTo("#forum-viewtopic").hide().slideDown(1000);
|
||||
|
||||
}
|
||||
|
||||
$('#forum-quickreply-text').val('');
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user