Fix issue when switching branch when BLOB is shown

Fix blob-switching for AJAX-Requests

Reorder
Merge pull request #3668 from Deradon/fix-blob-switching

Fix issue when switching branch when BLOB is shown