1 files changed, 2 insertions(+), 1 deletions(-)

M app/javascript/src/main.coffee
M app/javascript/src/main.coffee +2 -1
@@ 78,7 78,8 @@ switchToCurrentHash = ->
 
   format = window.location.hash.slice(1)
 
-  return if format.length == 0
+  return unless format in ['pl', 'hl', 'md']
+
   $(".js-show-tab[data-mode=#{format}]").click()