Unified · Split
| @@ -50,11 +50,11 @@ class app.views.EntryPage extends app.View · 49 unmodified lines | ||
| 50 | 50 | @clipBoardLink.className = '_pre-clip' |
| 51 | 51 | @clipBoardLink.title = 'Copy to clipboard' |
| 52 | 52 | @clipBoardLink.tabIndex = -1 |
| 53 | − el.appendChild(@clipBoardLink.cloneNode()) for el in @el.querySelectorAll('pre') | |
| 53 | + el.appendChild(@clipBoardLink.cloneNode()) for el in @findAllByTag('pre') | |
| 54 | 54 | return |
| 55 | 55 | |
| 56 | 56 | polyfillMathML: -> |
| 57 | − return unless window.supportsMathML is false and !@polyfilledMathML and @find('math') | |
| 57 | + return unless window.supportsMathML is false and !@polyfilledMathML and @findByTag('math') | |
| 58 | 58 | @polyfilledMathML = true |
| 59 | 59 | $.append document.head, """<link rel="stylesheet" href="#{app.config.mathml_stylesheet}">""" |
| 60 | 60 | return |