dimsemenov/Magnific-Popup — pull request #293 by BenRT (2013-11-23 17:10:09+00:00)
Title: Prevent gallery keyboard shortcuts when textarea or input has focus

When you are in a gallery popup with Inline or AJAX content, trying to press left or right on the keyboard while typing in an input or textarea will trigger the gallery next/right functions. This prevents that.