releasing 2.0.0 after successful testing
git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.0.0@2407541 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
cf553462a6
commit
6fe02a4345
24 changed files with 1299 additions and 1543 deletions
|
@ -6,7 +6,8 @@
|
|||
* @author Stefan Herndler
|
||||
* @since 1.5.0 12.09.14 10:56
|
||||
*/
|
||||
|
||||
// Added jQueryUI on 2020-10-26T1907+0100
|
||||
// Following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
|
||||
|
||||
/**
|
||||
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
|
||||
|
@ -90,9 +91,17 @@ class MCI_Footnotes {
|
|||
* @since 1.5.0
|
||||
*/
|
||||
public function registerPublic() {
|
||||
|
||||
// Add jQueryUI following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>:
|
||||
wp_register_script( 'jQueryUI', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', null, null, true );
|
||||
wp_enqueue_script( 'jQueryUI' );
|
||||
|
||||
|
||||
wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__));
|
||||
// add the jQuery plugin (already registered by WordPress)
|
||||
wp_enqueue_script('jquery');
|
||||
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__));
|
||||
|
||||
// Finish adding jQueryUI:
|
||||
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__), ['jQueryUI']);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue