User:Monster Domosed/common.js: Difference between revisions

No edit summary
No edit summary
Line 135: Line 135:
                 }, 1500);
                 }, 1500);


                if (remClickCount >= 5) {
if (remClickCount >= 5) {
                    remClickCount = 0;
    remClickCount = 0;
 
                    var msg = buddyMessages[Math.floor(Math.random() * buddyMessages.length)];
    iconId = 'rem-helper';
 
                    mw.notify(msg, {
    setCachedIcon(iconId);
                        type: 'success'
    applyIcon(iconId);
                    });
    var msg = buddyMessages[Math.floor(Math.random() * buddyMessages.length)];
    mw.notify(msg, {
        type: 'success'
    });
    selectIcon(iconId);
   
                 }
                 }
             } else {
             } else {