Skip to content

Commit

Permalink
Merge pull request #905 from cobicarmel/release/0.11.2
Browse files Browse the repository at this point in the history
Fixed #888 - Global font goes wrong after changing weight
  • Loading branch information
KingYes committed Nov 21, 2016
2 parents 22f430c + 57635ec commit 437ab8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PanelSchemeTypographyView = PanelSchemeItemView.extend( {

onFieldChange: function( event ) {
var $select = this.$( event.currentTarget ),
currentValue = elementor.helpers.cloneObject( this.model.get( 'value' ) ),
currentValue = elementor.schemes.getSchemeValue( 'typography', this.model.get( 'key' ) ).value,
fieldKey = $select.attr( 'name' );

currentValue[ fieldKey ] = $select.val();
Expand Down
2 changes: 1 addition & 1 deletion assets/js/editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 437ab8b

Please sign in to comment.