WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SimpleModal Login] How can i change the shortcut CTRL ALT L to another one?

[Resolved] [Plugin: SimpleModal Login] How can i change the shortcut CTRL ALT L to another one?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eric Martin
    Member

    @emartin24

    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) {
    		$('.simplemodal-login').trigger('click.simplemodal-login');
    	}
    },

    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: SimpleModal Login] How can i change the shortcut CTRL ALT L to another one?’ is closed to new replies.