Skip to content

Commit

Permalink
Merge pull request #1 from catscarlet/dev-3.0.0
Browse files Browse the repository at this point in the history
Prepare 3.0.2 release.
  • Loading branch information
catscarlet committed Apr 8, 2019
2 parents b168949 + aaed438 commit 05bc5d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changelog_en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.2

Fix a style issue.

## 3.0.1

Fix a conflict with akisment.
Expand Down
9 changes: 7 additions & 2 deletions js/wp-ipip.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ jQuery(document).ready(
'color': '#0073aa',
'cursor': 'pointer',
};
var style_on_hover = {
var style_on_mouseenter = {
'color': '#00a0d2',
};
var style_on_mouseleave = {
'color': '#0073aa',
};

jQuery('.wp-ipip-link-span').each(function() {
var ip = jQuery(this).attr('ip');
Expand All @@ -16,7 +19,9 @@ jQuery(document).ready(
jQuery(this).css(style);

jQuery(this).hover(function() {
jQuery(this).css(style_on_hover);
jQuery(this).css(style_on_mouseenter);
}, function() {
jQuery(this).css(style_on_mouseleave);
});

jQuery(this).click(function() {
Expand Down
2 changes: 1 addition & 1 deletion wp-ipip.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: WP-IPIP
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: 根据评论 IP 地址定位物理地址,使用 IPIP.net 数据库。
Version: 3.0.1
Version: 3.0.2
Author: 石樱灯笼
Author URI: https://www.catscarlet.com
*/
Expand Down

0 comments on commit 05bc5d7

Please sign in to comment.