Skip to content

Commit

Permalink
Update src/js/media/controllers/state.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
  • Loading branch information
joedolson and mukeshpanchal27 authored Sep 30, 2024
1 parent afd1e4a commit 887c329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/media/controllers/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype
var menu = this.frame.menu,
mode = this.get('menu'),
view,
actionMenuItems = this.frame.menu.get('views'),
actionMenuItems = this.frame.menu.get('views'),
actionMenuLength = actionMenuItems ? actionMenuItems.views.get().length : 0;

if ( this.frame.menu ) {
Expand Down

0 comments on commit 887c329

Please sign in to comment.