Commit ecf09d9f authored by antoine's avatar antoine

remove url hash

parent 869b15ed
......@@ -77,7 +77,11 @@
function testing () {
$("body").keydown( function( event ) {
if (event.key == "Backspace" ) {
var startImg = window.location.hash;
var newUrl = startImg.lastIndexOf('-');
window.location.hash = startImg.substring(0, newUrl);
$('img').last().remove();
}
})
$( "body" ).keypress(function(event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment