File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1055,7 +1055,7 @@ $(document).on('pjax:complete pjax:end rex:ready', function() {
1055
1055
1056
1056
// Fallback: Watch for new bloecks buttons being added to DOM
1057
1057
if ( typeof MutationObserver !== 'undefined' ) {
1058
- var observer = new MutationObserver ( function ( mutations ) {
1058
+ var bloecksObserver = new MutationObserver ( function ( mutations ) {
1059
1059
var shouldReinit = false ;
1060
1060
mutations . forEach ( function ( mutation ) {
1061
1061
if ( mutation . type === 'childList' ) {
@@ -1078,7 +1078,7 @@ if (typeof MutationObserver !== 'undefined') {
1078
1078
// Start observing only when document.body is available
1079
1079
function startObserving ( ) {
1080
1080
if ( document . body ) {
1081
- observer . observe ( document . body , {
1081
+ bloecksObserver . observe ( document . body , {
1082
1082
childList : true ,
1083
1083
subtree : true
1084
1084
} ) ;
You can’t perform that action at this time.
0 commit comments