mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-10 07:27:23 +01:00
Making links alive
This is a test. Sorry, I cannot check now if it works.
This commit is contained in:
parent
26c4b10d24
commit
c02e8044c2
4
js/js.js
4
js/js.js
@ -9,7 +9,7 @@ $(document).ready(function() {
|
|||||||
$(window.location.hash).modal('show');
|
$(window.location.hash).modal('show');
|
||||||
// add direct link to modal window
|
// add direct link to modal window
|
||||||
$(".link").empty();
|
$(".link").empty();
|
||||||
$(".link").append("<small>Link to this command: "+window.location.href+"</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
|
// add hash to URL when modal is opened
|
||||||
@ -17,7 +17,7 @@ $(document).ready(function() {
|
|||||||
window.location.hash = $(this).attr("data-target");
|
window.location.hash = $(this).attr("data-target");
|
||||||
// add direct link to modal window
|
// add direct link to modal window
|
||||||
$(".link").empty();
|
$(".link").empty();
|
||||||
$(".link").append("<small>Link to this command: "+window.location.href+"</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
|
// remove hash from URL when modal is closed
|
||||||
|
Loading…
Reference in New Issue
Block a user