Skip to content

Commit

Permalink
Merge pull request #580 from XMOJ-Script-dev/boomzero/bootstrap
Browse files Browse the repository at this point in the history
Improve popover usability
  • Loading branch information
boomzero authored Jul 31, 2024
2 parents f87e3bd + baefcac commit ad939ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions Update.json
Original file line number Diff line number Diff line change
Expand Up @@ -1837,6 +1837,17 @@
}
],
"Notes": "No release notes were provided for this release."
},
"1.2.14": {
"UpdateDate": 1722470253103,
"Prerelease": true,
"UpdateContents": [
{
"PR": 580,
"Description": "Improve popover usability"
}
],
"Notes": "No release notes were provided for this release."
}
}
}
6 changes: 3 additions & 3 deletions XMOJ.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name XMOJ
// @version 1.2.13
// @version 1.2.14
// @description XMOJ增强脚本
// @author @XMOJ-Script-dev, @langningchen and the community
// @namespace https://github/langningchen
Expand Down Expand Up @@ -468,15 +468,15 @@ async function main() {
rel: 'stylesheet'
}, {
type: 'script',
src: 'https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.3/js/bootstrap.bundle.min.js',
src: 'https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.3/js/bootstrap.bundle.js',
isModule: true
}];
if (UtilityEnabled("cdnjs")) {
resources[0].href = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/codemirror.min.css';
resources[1].href = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/theme/darcula.min.css';
resources[2].href = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/6.65.7/addon/merge/merge.min.css';
resources[3].href = 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css';
resources[4].src = 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js';
resources[4].src = 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.js';
}
let loadResources = async () => {
let promises = resources.map(resource => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmoj-script",
"version": "1.2.13",
"version": "1.2.14",
"description": "an improvement script for xmoj.tech",
"main": "AddonScript.js",
"scripts": {
Expand Down

0 comments on commit ad939ec

Please sign in to comment.