Showing 1 of 1 total issue
Function insertAtCursor
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insertAtCursor(areaId, text) {
var txtarea = document.getElementById(areaId);
var scrollPos = txtarea.scrollTop;
var strPos = 0;
var br = ((txtarea.selectionStart || txtarea.selectionStart == '0') ?