diff --git a/resources/gd-custom.js b/resources/gd-custom.js index 0d91f2f0a..bf8ac6e1b 100644 --- a/resources/gd-custom.js +++ b/resources/gd-custom.js @@ -3,6 +3,9 @@ $(function() { $(document).on("click","a",function(event) { var link = $(this).attr("href"); + if ('string' != typeof(link)) { + return; + } if(link.indexOf(":")>=0){ emitClickedEvent(link); return false;