Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #116 from barteljan/master
Browse files Browse the repository at this point in the history
Added a bugfix to UIWebViews canPerformAction category
  • Loading branch information
hebertialmeida committed Aug 12, 2016
2 parents 730ad4b + 76fc3f9 commit ec22ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/FolioReaderPage.swift
Expand Up @@ -425,6 +425,10 @@ extension UIWebView {
}

public override func canPerformAction(action: Selector, withSender sender: AnyObject?) -> Bool {

if(readerConfig == nil){
return super.canPerformAction(action, withSender: sender)
}

// menu on existing highlight
if isShare {
Expand Down

0 comments on commit ec22ae5

Please sign in to comment.