Update app.js

Use click instead of dblclick