We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a21976 + c197de9 commit 68ad07aCopy full SHA for 68ad07a
app/assets/js/rtMedia.backbone.js
@@ -1898,8 +1898,9 @@ jQuery( document ).ready( function( $ ) {
1898
/** Scroll function called */
1899
rtMediaScrollComments();
1900
1901
+ const hasGalleryShortCodeTitle = !!$('.rtm-gallery-shortcode-title-container', 'body').length;
1902
/** refreshing fragments */
- if ( false == $( 'body' ).hasClass( 'activity' ) && false == $( 'body' ).hasClass( 'groups' ) ) {
1903
+ if ( false == $( 'body' ).hasClass( 'activity' ) && false == $( 'body' ).hasClass( 'groups' ) && !hasGalleryShortCodeTitle ) {
1904
galleryObj.reloadView();
1905
}
1906
},
0 commit comments