Index: trunk/phase3/skins/common/edit.js |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | // apply tagOpen/tagClose to selection in textarea, |
80 | 80 | // use sampleText instead of selection if there is none |
81 | 81 | function insertTags( tagOpen, tagClose, sampleText ) { |
82 | | - if ( typeof $j.fn.textSelection != 'undefined' ) { |
| 82 | + if ( typeof $j != 'undefined' && typeof $j.fn.textSelection != 'undefined' ) { |
83 | 83 | $j( '#wpTextbox1' ).textSelection( |
84 | 84 | 'encapsulateSelection', { 'pre': tagOpen, 'peri': sampleText, 'post': tagClose } |
85 | 85 | ); |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1686,7 +1686,7 @@ |
1687 | 1687 | * to ensure that client-side caches do not keep obsolete copies of global |
1688 | 1688 | * styles. |
1689 | 1689 | */ |
1690 | | -$wgStyleVersion = '265'; |
| 1690 | +$wgStyleVersion = '266'; |
1691 | 1691 | |
1692 | 1692 | |
1693 | 1693 | # Server-side caching: |