mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Added badge count to client side nav, switched from js active nav to using php
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//Prevents resubmit on refresh or back
|
||||
//Prevents resubmit on forms
|
||||
if ( window.history.replaceState ) {
|
||||
window.history.replaceState( null, null, window.location.href );
|
||||
}
|
||||
@@ -42,13 +42,6 @@ $('#dT').dataTable( {
|
||||
|
||||
});
|
||||
|
||||
// Highlight the active nav link on side nav
|
||||
$(function() {
|
||||
var url = window.location.pathname;
|
||||
var filename = url.substr(url.lastIndexOf('/') + 1);
|
||||
$('.navbar-nav a[href$="' + filename + '"]').parent().addClass("active");
|
||||
});
|
||||
|
||||
new EasyMDE({
|
||||
autoDownloadFontAwesome: false,
|
||||
element: document.getElementById('addClientNote')
|
||||
|
||||
Reference in New Issue
Block a user