without "

This commit is contained in:
Reto Kromer 2016-06-30 11:08:26 +02:00 committed by GitHub
parent c02e8044c2
commit 42ae697de4

View File

@ -9,7 +9,7 @@ $(document).ready(function() {
$(window.location.hash).modal('show');
// add direct link to modal window
$(".link").empty();
$(".link").append("<small>Link to this command: <a href=&quot;"+window.location.href+"&quot;>"+window.location.href+"</a></small>");
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
}
// add hash to URL when modal is opened
@ -17,7 +17,7 @@ $(document).ready(function() {
window.location.hash = $(this).attr("data-target");
// add direct link to modal window
$(".link").empty();
$(".link").append("<small>Link to this command: <a href=&quot;"+window.location.href+"&quot;>"+window.location.href+"</a></small>");
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
});
// remove hash from URL when modal is closed