File: styles/prosilver/template/forum_fn.js
Unmodified
Added
Modified
Removed
Line 200 | Line 200 |
---|
// Get ID of code block var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
|
// Get ID of code block var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
|
// Not IE
| // Not IE and IE9+
|
if (window.getSelection) { var s = window.getSelection();
| if (window.getSelection) { var s = window.getSelection();
|
Line 403 | Line 403 |
---|
// jQuery code in case jQuery is used if (jquery_present) {
|
// jQuery code in case jQuery is used if (jquery_present) {
|
jQuery('form input[type=text], form input[type=password]').live('keypress', function (e)
| jQuery('form input[type=text], form input[type=password]').on('keypress', function (e)
|
{ var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');
| { var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');
|