Update buttons.js

Should fix selection issues for unwrapped quotes.