MobileFrontend fix
这个提交包含在:
父节点
ddcac9ac16
当前提交
4c50feef91
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "SimpleMathJax",
|
||||
"version": "0.8.2",
|
||||
"version": "0.8.3",
|
||||
"author": "jmnote",
|
||||
"url": "https://www.mediawiki.org/wiki/Extension:SimpleMathJax",
|
||||
"description": "render TeX between <code><nowiki><math></nowiki></code> and <code><nowiki></math></nowiki></code>",
|
||||
|
@ -24,7 +24,8 @@
|
|||
},
|
||||
"ResourceModules": {
|
||||
"ext.SimpleMathJax": {
|
||||
"scripts": ["resources/ext.SimpleMathJax.js"]
|
||||
"scripts": ["resources/ext.SimpleMathJax.js"],
|
||||
"targets": ["desktop", "mobile"]
|
||||
}
|
||||
},
|
||||
"ResourceFileModulePaths": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mw.hook( 'wikipage.categories' ).add( function ( $content ) {
|
||||
mw.hook( 'wikipage.content' ).add( function ( $content ) {
|
||||
window.MathJax = {
|
||||
tex: {
|
||||
inlineMath: mw.config.get('wgSmjExtraInlineMath').concat([['[math]','[/math]']]),
|
||||
|
|
正在加载...
在新工单中引用