SimpleModal Login
[resolved] How can i change the shortcut CTRL+ALT+L to another one? (3 posts)

  1. datser
    Posted 5 years ago #

    I want to change the shortcut ctrl+alt+l (fast access to registration form). What should i do?


  2. Eric Martin
    Plugin Author

    Posted 5 years ago #

    You'd have to open the theme js file you are using (default.js, osx.js, or your custom one) and change the following:

    keydown: function (e) {
    	if (e.altKey && e.ctrlKey && e.keyCode === 76) {

    You didn't say what you would want the shortcut to be, so you'd have to determine what would go in the if() condition.

  3. datser
    Posted 5 years ago #

    Thank you so much!
    Your post helped me!
    I changed the number of "keycode"! =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SimpleModal Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic