MobileFrontend fix

这个提交包含在:
root 2022-07-06 07:44:41 -05:00
父节点 ddcac9ac16
当前提交 4c50feef91
共有 2 个文件被更改,包括 4 次插入3 次删除

查看文件

@ -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]']]),