phpBB

Code Changes

File: assets/javascript/editor.js

  Unmodified   Added   Modified   Removed
Line 357Line 357
		phpbb.applyCodeEditor(textarea);
if ($('#attach-panel').length) {
phpbb.showDragNDrop(textarea);

		phpbb.applyCodeEditor(textarea);
if ($('#attach-panel').length) {
phpbb.showDragNDrop(textarea);

 
		}

$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
$(this).closest('form').submit();

		}

		}

 
		});

	});
})(jQuery);


	});
})(jQuery);