mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +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/
|
// http://nijikokun.github.io/bootstrap-notify/
|
||||||
$('#uiAlert').notify({
|
// fix - only if there
|
||||||
type: alertType,
|
if(jQuery().notify) {
|
||||||
message: { text: d.msg },
|
$('#uiAlert').notify({
|
||||||
fadeOut: { enabled: true, delay: 3000 }
|
type: alertType,
|
||||||
}).show();
|
message: { text: d.msg },
|
||||||
|
fadeOut: { enabled: true, delay: 3000 }
|
||||||
|
}).show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// alert(d.msg);
|
// alert(d.msg);
|
||||||
}
|
}
|
||||||
@@ -83,6 +87,7 @@ $(document).ready(function()
|
|||||||
$(d.html).appendTo("#forum-viewtopic").hide().slideDown(1000);
|
$(d.html).appendTo("#forum-viewtopic").hide().slideDown(1000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#forum-quickreply-text').val('');
|
$('#forum-quickreply-text').val('');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user