mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
remove unused code
This commit is contained in:
parent
40f3365596
commit
1e1330847f
1 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue