phpBB

Code Changes

File: styles/subsilver2/template/editor.js

  Unmodified   Added   Modified   Removed
Line 351Line 351
*/
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();
}