diff --git a/resources/gd_custom.js b/resources/gd_custom.js new file mode 100644 index 00000000..69e4742f --- /dev/null +++ b/resources/gd_custom.js @@ -0,0 +1,13 @@ +//document ready , +$(function() { + $("a").click(function(event) { + var link = $(this).attr("href"); + if (link.indexOf("://") < 0) { + var newLink = window.location.href + "/" + link; + $(this).attr("href", newLink); + } + }); + + } + +); \ No newline at end of file