Minimal source control links

This commit is contained in:
Tim Schaub
2015-08-07 12:36:16 -06:00
parent 5b80da7f6e
commit ab24d9043e
3 changed files with 47 additions and 7 deletions

View File

@@ -10,6 +10,14 @@
});
}
var fiddleButton = document.getElementById('jsfiddle-button');
if (fiddleButton) {
fiddleButton.onclick = function(event) {
event.preventDefault();
document.getElementById('jsfiddle-form').submit();
};
}
if (window.location.host === 'localhost:3000') {
return;
}