Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.preview.js |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | context.$preview.find( '.wikiEditor-preview-loading' ).hide(); |
59 | 59 | context.$preview.find( '.wikiEditor-preview-contents' ) |
60 | 60 | .html( data.parse.text['*'] ) |
61 | | - .find( 'a:not([href^=#])' ).attr( 'href', '#' ); |
| 61 | + .find( 'a:not([href^=#])' ).click( function() { return false; } ); |
62 | 62 | }, |
63 | 63 | 'json' |
64 | 64 | ); |