Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript: void $('menu.menu').after('<input type="button" value="ON" class="imageon">'); void $('.imageon').after('<input type="button" value="OFF" class="imageoff">'); void $(document).on("click", ".imageoff", function(){ $('.post-img').parent('dd.post-message').parent('dl').hide(); Talkio.Variables.messages.on("add",function(){$('.post-img').parent('dd.post-message').parent('dl').hide();});});void $(document).on("click", ".imageon", function(){ $('.post-img').parent('dd.post-message').parent('dl').show(); Talkio.Variables.messages.on("add",function(){$('.post-img').parent('dd.post-message').parent('dl').show();});});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement