Commits

Denis Darii  committed 0131113

added javascript:history.back() action in example.settings

  • Participants
  • Parent commits 32ccd1a

Comments (0)

Files changed (1)

File example/settings.py

 HOTKEYS = [
             {'keys': 'g + h',  # go home
             'link': '/'},
-            {'keys': 'j+s',  # execute javascript code
+            {'keys': 'j + s',  # execute javascript code
             'js': 'alert(\'J+S pressed!\')'},
+            {'keys': 'g + b',
+            'js': 'javascript:history.back();'},
         ]
 SPECIAL_DISABLED = True
 # END keyboard_shortcuts settings #