Version Description
- Fix: JS conflict with Jetpack plugin on admin.
Download this release
Release Info
Developer | brainstormworg |
Plugin | Custom Fonts |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- assets/js/bsf-custom-fonts.js +7 -7
- custom-fonts.php +2 -2
- readme.txt +5 -2
assets/js/bsf-custom-fonts.js
CHANGED
@@ -73,11 +73,11 @@
|
|
73 |
}
|
74 |
|
75 |
var addButton = $('.repeater-add-btn:last');
|
76 |
-
|
77 |
addButton.on('click', function () {
|
78 |
var repeaterFieldCount = $('input[name=repeater-field-count]').val();
|
79 |
var item = $('#repeater .cf-bsf-items').first().clone().prop('id', 'item-' + ( parseInt( repeaterFieldCount ) ) );
|
80 |
-
|
81 |
item.appendTo('#repeater');
|
82 |
var newItem = $('#item-' + parseInt( repeaterFieldCount ) );
|
83 |
var input = newItem.find('input,select');
|
@@ -113,7 +113,7 @@
|
|
113 |
}
|
114 |
});
|
115 |
$('input[name=repeater-field-count]').val( parseInt( repeaterFieldCount ) + 1 );
|
116 |
-
|
117 |
remove_button_disable();
|
118 |
$('html, body').animate({
|
119 |
scrollTop: newItem.offset().top
|
@@ -177,12 +177,12 @@
|
|
177 |
remove_button_disable();
|
178 |
});
|
179 |
|
180 |
-
$( document ).ajaxComplete(function( event, request, settings ) {
|
181 |
-
if( "action=add-tag" === settings.data.split("&")[0]){
|
182 |
location.reload();
|
183 |
-
}
|
184 |
});
|
185 |
-
|
186 |
/* Initializes the Bsf Custom Fonts. */
|
187 |
$(function(){
|
188 |
BsfCustomFonts.init();
|
73 |
}
|
74 |
|
75 |
var addButton = $('.repeater-add-btn:last');
|
76 |
+
|
77 |
addButton.on('click', function () {
|
78 |
var repeaterFieldCount = $('input[name=repeater-field-count]').val();
|
79 |
var item = $('#repeater .cf-bsf-items').first().clone().prop('id', 'item-' + ( parseInt( repeaterFieldCount ) ) );
|
80 |
+
|
81 |
item.appendTo('#repeater');
|
82 |
var newItem = $('#item-' + parseInt( repeaterFieldCount ) );
|
83 |
var input = newItem.find('input,select');
|
113 |
}
|
114 |
});
|
115 |
$('input[name=repeater-field-count]').val( parseInt( repeaterFieldCount ) + 1 );
|
116 |
+
|
117 |
remove_button_disable();
|
118 |
$('html, body').animate({
|
119 |
scrollTop: newItem.offset().top
|
177 |
remove_button_disable();
|
178 |
});
|
179 |
|
180 |
+
$( document ).ajaxComplete(function( event, request, settings ) {
|
181 |
+
if( settings.data && "action=add-tag" === settings.data.split("&")[0]){
|
182 |
location.reload();
|
183 |
+
}
|
184 |
});
|
185 |
+
|
186 |
/* Initializes the Bsf Custom Fonts. */
|
187 |
$(function(){
|
188 |
BsfCustomFonts.init();
|
custom-fonts.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-fonts
|
9 |
-
* Version: 1.3.
|
10 |
*
|
11 |
* @package Bsf_Custom_Fonts
|
12 |
*/
|
@@ -25,7 +25,7 @@ define( 'BSF_CUSTOM_FONTS_FILE', __FILE__ );
|
|
25 |
define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
|
26 |
define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
|
27 |
define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
|
28 |
-
define( 'BSF_CUSTOM_FONTS_VER', '1.3.
|
29 |
|
30 |
/**
|
31 |
* BSF Custom Fonts
|
6 |
* Author: Brainstorm Force
|
7 |
* Author URI: http://www.brainstormforce.com
|
8 |
* Text Domain: custom-fonts
|
9 |
+
* Version: 1.3.2
|
10 |
*
|
11 |
* @package Bsf_Custom_Fonts
|
12 |
*/
|
25 |
define( 'BSF_CUSTOM_FONTS_BASE', plugin_basename( BSF_CUSTOM_FONTS_FILE ) );
|
26 |
define( 'BSF_CUSTOM_FONTS_DIR', plugin_dir_path( BSF_CUSTOM_FONTS_FILE ) );
|
27 |
define( 'BSF_CUSTOM_FONTS_URI', plugins_url( '/', BSF_CUSTOM_FONTS_FILE ) );
|
28 |
+
define( 'BSF_CUSTOM_FONTS_VER', '1.3.2' );
|
29 |
|
30 |
/**
|
31 |
* BSF Custom Fonts
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: brainstormforce
|
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -43,6 +43,9 @@ If you're not using any of the supported plugins and theme, you can write the cu
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
46 |
= 1.3.1 =
|
47 |
- Fix: Font not rendered properly when multiple font format files are added for a single font.
|
48 |
|
3 |
Donate link: https://www.paypal.me/BrainstormForce
|
4 |
Tags: Beaver Builder, Elementor, Astra, woff2, woff, ttf, svg, eot, otf, Custom Fonts, Font, Typography
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.8
|
7 |
+
Stable tag: 1.3.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 1.3.2 =
|
47 |
+
- Fix: JS conflict with Jetpack plugin on admin.
|
48 |
+
|
49 |
= 1.3.1 =
|
50 |
- Fix: Font not rendered properly when multiple font format files are added for a single font.
|
51 |
|