Skip to content

Commit

Permalink
Better load method
Browse files Browse the repository at this point in the history
  • Loading branch information
lwl12 committed Jan 6, 2019
1 parent 57fd100 commit 73b3333
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/hermit-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ function reloadHermit() {
hermitInit();
}
var ap = [];
document.addEventListener("DOMContentLoaded", hermitInit);
document.addEventListener("DOMContentLoaded", reloadHermit);
console.log("\n %c Hermit X Music Helper v" + HermitX.version + " %c https://lwl.moe/HermitX \n", "color: #fff; background: #4285f4; padding:5px 0;", "background: #66CCFF; padding:5px 0;");
2 changes: 1 addition & 1 deletion assets/js/hermit-load.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions hermit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
Plugin Name: Hermit X
Plugin URI: https://blog.lwl12.com/read/hermit-x.html
Description: 音乐播放器 Hermit music player build for wordpress with APlayer
Version: 2.9.2
Version: 2.9.3
Author: Hermit X Developer Team
Author URI: https://blog.lwl12.com/read/hermit-x.html#developer
*/

define('HERMIT_FILE', __FILE__);
define('HERMIT_VERSION', '2.9.2');
define('HERMIT_VERSION', '2.9.3');
define('HERMIT_URL', plugins_url('', __FILE__));
define('HERMIT_PATH', dirname(__FILE__));
define('HERMIT_ADMIN_URL', admin_url());
Expand Down

0 comments on commit 73b3333

Please sign in to comment.