We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c97b933 commit 800ff84Copy full SHA for 800ff84
assets/js/customizer.js
@@ -35,15 +35,20 @@
35
} );
36
37
control.widthElement.keyup( function() {
38
- if ( control.respectRatio && control.hasLogo ) {
39
- control.calculateRatio( 'width' );
+ if ( control.hasLogo ) {
+ if ( control.respectRatio ) {
40
+ control.calculateRatio( 'width' );
41
+ }
42
control.shapelyInterval = setInterval( control.updateControl, 1000, control );
43
}
44
+
45
46
47
control.heightElement.keyup( function() {
- control.calculateRatio( 'height' );
48
49
50
+ control.calculateRatio( 'height' );
51
52
53
54
0 commit comments