X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bea8d1caad32069ceb8c68feea989fc551b7917d..c7eba7256c19035609dddbd141dc92a9640f71d9:/redakcja/static/js/button_scripts.js?ds=sidebyside diff --git a/redakcja/static/js/button_scripts.js b/redakcja/static/js/button_scripts.js index 949365a4..c97a2314 100644 --- a/redakcja/static/js/button_scripts.js +++ b/redakcja/static/js/button_scripts.js @@ -108,7 +108,6 @@ function ScriptletCenter() if (cursor_inside) { move_forward -= params.tag.length + 3; move_up += params.padding_bottom || 0; - alert(move_forward + ' ' + move_up) } done(output, move_forward, move_up); @@ -268,7 +267,7 @@ function ScriptletCenter() if (params.tag == 'akap' && chunks[i].match(/^---/)) tag = 'akap_dialog'; else tag = params.tag; - tagger(context, {tag: tag}, chunks[i], 0, insert_done); + tagger(context, {tag: tag}, chunks[i], 0, 0, insert_done); text += padding; } }