remove unused code

This commit is contained in:
mlorb 2018-06-11 14:49:03 +02:00
parent 40f3365596
commit 1e1330847f

View file

@ -32,10 +32,6 @@ var ignoreUnsavedWorkAlert;
initializeAddContentsModal();
initializeUnsavedWorkDialog();
$('.report-nav-link').each(function() {
truncateLongString($(this), <%= Constants::NAME_TRUNCATION_LENGTH %>);
});
// Automatically display the "Add content" modal
$('.new-element.initial').click();
}
@ -955,11 +951,3 @@ $(document).ready(function() {
init();
}
})
$(document).change(function(){
setTimeout(function(){
$(".report-nav-link").each( function(){
truncateLongString( $(this), <%= Constants::NAME_TRUNCATION_LENGTH %>);
});
}, 1000);
});