prevent offcanvas error when target is a link
prevent offcanvas error when target is a link

reported in #1087

Stack example on ember app:

 Error while processing route: channel Syntax error, unrecognized expression: #/channels/dormroomtycoon Error: Syntax error, unrecognized expression: #/channels/dormroomtycoon
    at Function.Sizzle.error (http://localhost:4200/assets/vendor.js:1611:8)
    at Sizzle.tokenize (http://localhost:4200/assets/vendor.js:2228:11)
    at Sizzle.select (http://localhost:4200/assets/vendor.js:2632:20)
    at Function.Sizzle (http://localhost:4200/assets/vendor.js:1008:9)
    at jQuery.fn.extend.find (http://localhost:4200/assets/vendor.js:2848:11)
    at jQuery.fn.init (http://localhost:4200/assets/vendor.js:2965:38)
    at Object.jQuery [as $] (http://localhost:4200/assets/vendor.js:193:10)
    at HTMLDocument.<anonymous> (http://localhost:4200/assets/vendor.js:82201:37)
    at HTMLDocument.jQuery.fn.extend.on.fn (http://localhost:4200/assets/vendor.js:5358:19)
    at HTMLDocument.jQuery.event.dispatch (http://localhost:4200/assets/vendor.js:4785:9)

pandoraui/uikit,DecipherNow/uikit,guillaumemorin/uikit,pandoraui/uikit,jlzuri/uikit,cristianangulo/uikit,Mika28110/uikit,ssknet/uikit,2947721120/uikit,eaglesjava/uikit,bastianbin/uikit,schinckel/uikit,xpallicer/uikit,guillaumemorin/uikit,WQuanfeng/uikit,zachariahtimothy/uikit,r14r/fork_javascript_uikit,Acidburn0zzz/uikit,fhchina/uikit,ma3310/uikit,farhadeidi/uikit,lupuxyz/uikit_2.22.0,malles/uikit,yeuem1vannam/uikit,BenHeubl/uikit,djmishaseb/uikit,dropthatlux/dlyceum,nstaeger/uikit,weberl48/uikit,dalgakiran/uikit,lovesoft/uikit,hanmichael/uikit,djmishaseb/uikit,lupuxyz/uikit_2.22.0,dimitrilongo/uikit,jessejjohnson/uikit,AnXi-TieGuanYin-Tea/uikit,dimitrilongo/uikit,weberl48/uikit,myktra/uikit,yshyee/uikit,pkdevbox/uikit,jlzuri/uikit,BenHeubl/uikit,yshyee/uikit,EventMobi/uikit,stipsan/uikit,bastianbin/uikit,DecipherNow/uikit,ssknet/uikit,cristianangulo/uikit,yeuem1vannam/uikit,jessejjohnson/uikit,malles/uikit,lovesoft/uikit,irwinlove/uikit,Acidburn0zzz/uikit,xXiNiXx1/uikit,Mcsim182/uikit,r14r-work/fork_javascript_uikit,Mika28110/uikit,nodecode/uikit-stylus,ma3310/uikit,cnbin/uikit,hanmichael/uikit,dalgakiran/uikit,schinckel/uikit,r14r-work/fork_javascript_uikit,r14r/fork_javascript_uikit,fjvalencian/uikit,EventMobi/uikit,2947721120/uikit,zachariahtimothy/uikit,WQuanfeng/uikit,AnXi-TieGuanYin-Tea/uikit,nodecode/uikit-stylus,nik4152/uikit,Mcsim182/uikit,myktra/uikit,michaelcrosbie/uikit,stipsan/uikit,pkdevbox/uikit,DerekTBrown/MeteorKit,xpallicer/uikit,DerekTBrown/MeteorKit,imazin-ru/uikit,xXiNiXx1/uikit,michaelcrosbie/uikit,fhchina/uikit,fjvalencian/uikit,dropthatlux/dlyceum,irwinlove/uikit,cnbin/uikit,farhadeidi/uikit,nstaeger/uikit,eaglesjava/uikit,imazin-ru/uikit,nik4152/uikit