mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Unnecessary console outputs removed.
This commit is contained in:
parent
b19549c947
commit
f6275ffc09
@ -13,8 +13,6 @@ function localize(str) {
|
|||||||
}).responseText;
|
}).responseText;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(localize("Submit"));
|
|
||||||
|
|
||||||
// After the page has loaded, load the Ckeditor and the attachment dropbox
|
// After the page has loaded, load the Ckeditor and the attachment dropbox
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
@ -29,7 +27,6 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
// Make the editor bigger (at least 500px high and 80% of the viewport otherwise)
|
// Make the editor bigger (at least 500px high and 80% of the viewport otherwise)
|
||||||
var width = Math.max(500, 0.8 * $(window).height() );
|
var width = Math.max(500, 0.8 * $(window).height() );
|
||||||
console.log(width);
|
|
||||||
editor.resize("100%", new String(width));
|
editor.resize("100%", new String(width));
|
||||||
|
|
||||||
// Create a new command with the desired exec function
|
// Create a new command with the desired exec function
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user