File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/LiveDevelopment/BrowserScripts Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1367,13 +1367,6 @@ function RemoteFunctions(config = {}) {
13671367 ${ ICONS . ai }
13681368 </span>` ;
13691369
1370- // if its an image element, we show the image gallery icon
1371- if ( this . element && this . element . tagName . toLowerCase ( ) === 'img' ) {
1372- content += `<span data-action="image-gallery" title="${ config . strings . imageGallery } ">
1373- ${ ICONS . imageGallery }
1374- </span>` ;
1375- }
1376-
13771370 // Only include select parent option if element supports it
13781371 if ( showSelectParentOption ) {
13791372 content += `<span data-action="select-parent" title="${ config . strings . selectParent } ">
@@ -1388,6 +1381,13 @@ function RemoteFunctions(config = {}) {
13881381 </span>` ;
13891382 }
13901383
1384+ // if its an image element, we show the image gallery icon
1385+ if ( this . element && this . element . tagName . toLowerCase ( ) === 'img' ) {
1386+ content += `<span data-action="image-gallery" title="${ config . strings . imageGallery } ">
1387+ ${ ICONS . imageGallery }
1388+ </span>` ;
1389+ }
1390+
13911391 // Always include duplicate and delete options
13921392 content += `<span data-action="duplicate" title="${ config . strings . duplicate } ">
13931393 ${ ICONS . duplicate }
You can’t perform that action at this time.
0 commit comments