GetmeUK / ContentTools

A JS library for building WYSIWYG editors for HTML content.
http://getcontenttools.com
MIT License
3.95k stars 395 forks source link

Make busy() return the value of @_busy #450

Closed flowonyx closed 6 years ago

flowonyx commented 6 years ago

I was just reading through the code and saw this. After checking for undefined it is just setting @_busy instead of returning it as the comment says it should. I suppose the return value is never used or this would have been a problem, but I thought I would go ahead and fix the bug in case it ever came up.

anthonyjb commented 6 years ago

Hey @flowonyx thanks for spotting and fixing - much appreciated :+1: