Kaynağa Gözat

Force return true on a jquery handler; returning falsy values may have unexpected results.

Paulo Reis 9 yıl önce
ebeveyn
işleme
af2cbf5a51

+ 1 - 0
services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee

@@ -432,6 +432,7 @@ define [
 						# if we still have a selection we need to keep the handler going
 						# if we still have a selection we need to keep the handler going
 						if not removedClass then _setMouseUpHandler()
 						if not removedClass then _setMouseUpHandler()
 					, 10
 					, 10
+					return true
 
 
 				_removeClassIfNoSelection = () ->
 				_removeClassIfNoSelection = () ->
 					if _hasSelection()
 					if _hasSelection()