phpBB

Code Changes

File: styles/prosilver/template/editor.js

  Unmodified   Added   Modified   Removed
Line 347Line 347
*/
function storeCaret(textEl)
{

*/
function storeCaret(textEl)
{

	if (textEl.createTextRange)

	if (textEl.createTextRange && document.selection)

	{
textEl.caretPos = document.selection.createRange().duplicate();
}

	{
textEl.caretPos = document.selection.createRange().duplicate();
}