jquery syntacx error

jquery syntacx error

Hi i am new to jquery, and i have the following script i am trying to modify with an "or" statement. i am now getting an error " Expected ')' to match '(' from line 1 and instead saw '}'.
when i change it i get the error. What am i doing wrong?

     $ ( document ). ready ( function () {
 if($('.toggle-nav') || $('#navigation li a').click(function(){ $('#navigation').toggle(); } }); });