Fixed: Return type for method in CPPlatformPasteboard.j

Method return type is labeled as void despite returning a BOOL and the DOC comment stating that it should return a BOOL
This commit is contained in:
daniel committed 2019-03-28 13:38:33 -07:00
1 parent 85b2a9b0a0
commit d4e139eaf5
1 file changed
+1 -1
+1 -1
View File
@@ -348,7 +348,7 @@ var hasEditableTarget = function(aDOMEvent)
/*
Return true if the event may be a copy and paste event, but the target is not an input or text area.
*/
- (void)_mayRequireDOMPasteboardElementHack:(DOMEvent)aDOMEvent flags:(unsigned)modifierFlags
- (BOOL)_mayRequireDOMPasteboardElementHack:(DOMEvent)aDOMEvent flags:(unsigned)modifierFlags
{
return !hasEditableTarget(aDOMEvent) && (modifierFlags & CPPlatformActionKeyMask);
}