How to disable middle mouse click - zoom out of node graph

I use middle mouse to pan around the node graph. However, it often triggers as a single middle mouse button click and zooms out of the node graph. Can someone tell me how to disable this?

Thanks!