$('.bounty-notification').insertAfter('.question .fw-wrap'); //$('.bounty-notification').length condition isn't necessary; this line will run only if the element exists
$('.bounty-notification').insertAfter('.question .fw-wrap'); //$('.bounty-notification').length condition isn't necessary; this line will run only if the element exists
//Placing the following in this if statement should hopefully prevent a fixed review bar in Ask Ubuntu. However I can't test this on Stack Overflow's or Ask Ubuntu's review:
//Placing the following in this if statement should hopefully prevent a fixed review bar in Ask Ubuntu. However I can't test this on Stack Overflow's or Ask Ubuntu's review:
if (sox.location.on('/review/')) { //https://github.com/soscripted/sox/issues/180
if (sox.location.on('/review/')) { //https://github.com/soscripted/sox/issues/180
sox.helpers.observe('.review-bar', function() {
sox.helpers.observe('.review-bar', function() {
if ($('.review-bar').css('position') === 'fixed') {
if ($('.review-bar').css('position') === 'fixed') {
var kbdBtn = '<li class="wmd-button" id="wmd-kbd-button" title="surround selected text with <kbd> tags"><span style="background-image:none;">kbd</span></li>',
var kbdBtn = '<li class="wmd-button" id="wmd-kbd-button" title="surround selected text with <kbd> tags"><span style="background-image:none;">kbd</span></li>',
listBtn = '<li class="wmd-button" id="wmd-bullet-button" title="add dashes (\'-\') before every line to make a bullet list"><span style="background-image:none;">●</span></li>';
listBtn = '<li class="wmd-button" id="wmd-bullet-button" title="add dashes (\'-\') before every line to make a bullet list"><span style="background-image:none;">●</span></li>';
$('[id^="wmd-redo-button"]').each(function() {
$('[id^="wmd-redo-button"]').each(function() {
if (!$(this).parent().find('#wmd-kbd-button').length) $(this).after(kbdBtn + listBtn);
if (!$(this).parent().find('#wmd-kbd-button').length) $(this).after(kbdBtn + listBtn);