VK All in One Expansion Unit - Version 7.2.1

Version Description

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 7.2.1
Comparing to
See all releases

Code changes from version 7.2.0 to 7.2.1

Files changed (5) hide show
  1. js/all.js +3 -0
  2. js/all.min.js +2 -1
  3. js/master.js +3 -0
  4. readme.txt +2 -2
  5. vkExUnit.php +1 -1
js/all.js CHANGED
@@ -131,6 +131,9 @@ jQuery(document).ready(function($){
131
  (function($) {
132
  // #にダブルクォーテーションが必要
133
  $('a[href^="#"]').click(function() {
 
 
 
134
  // .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
135
  if ( ! $(this).hasClass('carousel-control') ){
136
  if ( id )
131
  (function($) {
132
  // #にダブルクォーテーションが必要
133
  $('a[href^="#"]').click(function() {
134
+ if ( jQuery(this).attr("href") === "#" ){
135
+ return;
136
+ }
137
  // .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
138
  if ( ! $(this).hasClass('carousel-control') ){
139
  if ( id )
js/all.min.js CHANGED
@@ -1,6 +1,7 @@
1
 
2
  jQuery.changeLetterSize={handlers:[],interval:1000,currentSize:0};(function($){var self=$.changeLetterSize;var ins=$('<ins>M</ins>').css({display:'block',visibility:'hidden',position:'absolute',padding:'0',top:'0'});var isChanged=function(){ins.appendTo('body');var size=ins[0].offsetHeight;ins.remove();if(self.currentSize==size)return false;self.currentSize=size;return true;};$(isChanged);var observer=function(){if(!isChanged())return;$.each(self.handlers,function(i,handler){handler();});};self.addHandler=function(func){self.handlers.push(func);if(self.handlers.length==1){}};})(jQuery);(function($){var sets=[];var flatHeights=function(set){var maxHeight=0;set.each(function(){var height=this.offsetHeight;if(height>maxHeight)maxHeight=height;});set.css('height',maxHeight+'px');};jQuery.fn.flatHeights=function(){if(this.length>1){flatHeights(this);sets.push(this);}
3
- return this;};var reflatting=function(){$.each(sets,function(){this.height('auto');flatHeights(this);});};$.changeLetterSize.addHandler(reflatting);$(window).resize(reflatting);})(jQuery);jQuery(document).ready(function($){jQuery('.topPrTit a').flatHeights();jQuery('.topPrDescription').flatHeights();jQuery('.child_page_block h4 a').flatHeights();});(function($){$('a[href^="#"]').click(function(){if(!$(this).hasClass('carousel-control')){if(id)
 
4
  var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'html':href);var id=jQuery(this).attr('id');if(id=='page_top'){var position=0;}else{var position=target.offset().top;}
5
  $('body,html').animate({scrollTop:position},speed,'swing');return false;}})})(jQuery);(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
6
  var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
1
 
2
  jQuery.changeLetterSize={handlers:[],interval:1000,currentSize:0};(function($){var self=$.changeLetterSize;var ins=$('<ins>M</ins>').css({display:'block',visibility:'hidden',position:'absolute',padding:'0',top:'0'});var isChanged=function(){ins.appendTo('body');var size=ins[0].offsetHeight;ins.remove();if(self.currentSize==size)return false;self.currentSize=size;return true;};$(isChanged);var observer=function(){if(!isChanged())return;$.each(self.handlers,function(i,handler){handler();});};self.addHandler=function(func){self.handlers.push(func);if(self.handlers.length==1){}};})(jQuery);(function($){var sets=[];var flatHeights=function(set){var maxHeight=0;set.each(function(){var height=this.offsetHeight;if(height>maxHeight)maxHeight=height;});set.css('height',maxHeight+'px');};jQuery.fn.flatHeights=function(){if(this.length>1){flatHeights(this);sets.push(this);}
3
+ return this;};var reflatting=function(){$.each(sets,function(){this.height('auto');flatHeights(this);});};$.changeLetterSize.addHandler(reflatting);$(window).resize(reflatting);})(jQuery);jQuery(document).ready(function($){jQuery('.topPrTit a').flatHeights();jQuery('.topPrDescription').flatHeights();jQuery('.child_page_block h4 a').flatHeights();});(function($){$('a[href^="#"]').click(function(){if(jQuery(this).attr("href")==="#"){return;}
4
+ if(!$(this).hasClass('carousel-control')){if(id)
5
  var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'html':href);var id=jQuery(this).attr('id');if(id=='page_top'){var position=0;}else{var position=target.offset().top;}
6
  $('body,html').animate({scrollTop:position},speed,'swing');return false;}})})(jQuery);(function($){$(function(){$('.prArea > .subSection-title').flatHeights();$('.prArea > .summary').flatHeights();});window.addEventListener('DOMContentLoaded',function(){$('.childPage_list_text').flatHeights();})})(jQuery);(function($){var socials=$('.veu_socialSet');if(typeof socials[0]==="undefined")return;var linkurl=encodeURIComponent((typeof vkExOpt!=="undefined"&&vkExOpt.sns_linkurl)||location.href);var facebook={init:function(){var url='https://graph.facebook.com/?id='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){if(!response.share||response.share.share_count===undefined)return;socials.find('.veu_count_sns_fb').html(response.share.share_count);}});}}
7
  var hatena={init:function(){var url=(location.protocol==='https:'?'https://b.hatena.ne.jp':'http://api.b.st-hatena.com')+'/entry.count?url='+linkurl;$.ajax({url:url,dataType:'jsonp',success:function(response){var count=response?response:0;socials.find('.veu_count_sns_hb').html(count);if(typeof(count)=='undefined'){count=0;}}});}}
js/master.js CHANGED
@@ -12,6 +12,9 @@
12
  (function($) {
13
  // #にダブルクォーテーションが必要
14
  $('a[href^="#"]').click(function() {
 
 
 
15
  // .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
16
  if ( ! $(this).hasClass('carousel-control') ){
17
  if ( id )
12
  (function($) {
13
  // #にダブルクォーテーションが必要
14
  $('a[href^="#"]').click(function() {
15
+ if ( jQuery(this).attr("href") === "#" ){
16
+ return;
17
+ }
18
  // .carousel-control を除外しないとLightningのスライダーの左右ボタンでページトップになってしまう。
19
  if ( ! $(this).hasClass('carousel-control') ){
20
  if ( id )
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: vektor-inc,kurudrive,nc30,SaoriMiyazaki,catherine8007,naoki0h
3
  Donate link:
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
- Tested up to: 5.0.2
7
- Stable tag: 7.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link:
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.4
6
+ Tested up to: 5.0.3
7
+ Stable tag: 7.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 7.2.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 7.2.1
7
  * Author: Vektor,Inc.
8
  * Text Domain: vkExUnit
9
  * Domain Path: /languages