Skip to content

Commit

Permalink
Hotfix Image Shortcake JS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfelt committed May 22, 2017
1 parent 1408dff commit 55c54b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image-shortcake/assets/js/image-shortcake-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var ImageShortcake = {
return;
}

var attachment = sui.views.editAttributeFieldAttachment.getFromCache( changed.value );
var attachment = wp.media.attachment( changed.value ).attributes;

if ( attachment ) {

Expand Down

0 comments on commit 55c54b2

Please sign in to comment.