Paste this in console:
unbind mouse1;bind / +attack;bind mouse1 +attack