Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
Use HTTPS where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Feb 24, 2021
1 parent f96be99 commit 71ac226
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org/
root = true

[*]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
EmulateTab javascript library.
A jQuery plugin to emulate tabbing between elements on a page.
Developed for PTS by Joel Purra <http://joelpurra.se/>
Developed for PTS by Joel Purra <https://joelpurra.com/>

Copyright (c) 2011, 2012, 2013, 2014, The Swedish Post and Telecom Authority (PTS)

Expand Down
2 changes: 1 addition & 1 deletion example/demo.html
Expand Up @@ -71,7 +71,7 @@
<legend>A bunch of random form elements for demo purposes</legend>
<input type="text" value="Textbox" />
<textarea>Textarea</textarea>
<a href="http://joelpurra.se/">Joel Purra</a>
<a href="https://joelpurra.com/">Joel Purra</a>
<input type="submit" value="Input type submit" />
<ol>
<li>
Expand Down
8 changes: 4 additions & 4 deletions src/emulatetab.joelpurra.js
Expand Up @@ -17,7 +17,7 @@ var JoelPurra = JoelPurra || {};
// Private methods
internal = {
escapeSelectorName: function(str) {
// Based on http://api.jquery.com/category/selectors/
// Based on https://api.jquery.com/category/selectors/
// Still untested
return str.replace(/(!"#$%&'\(\)\*\+,\.\/:;<=>\?@\[\]^`\{\|\}~)/g, "\\\\$1");
},
Expand Down Expand Up @@ -72,9 +72,9 @@ var JoelPurra = JoelPurra || {};
// Combined function to get the focused element, trying as long as possible.
// Extra work done trying to avoid problems with security features around
// <input type="file" /> in Firefox (tested using 10.0.1).
// http://stackoverflow.com/questions/9301310/focus-returns-no-element-for-input-type-file-in-firefox
// Problem: http://jsfiddle.net/joelpurra/bzsv7/
// Fixed: http://jsfiddle.net/joelpurra/bzsv7/2/
// https://stackoverflow.com/questions/9301310/focus-returns-no-element-for-input-type-file-in-firefox
// Problem: https://jsfiddle.net/joelpurra/bzsv7/
// Fixed: https://jsfiddle.net/joelpurra/bzsv7/2/

getFocusedElement: function() {
// 1. Try the well-known, recommended method first.
Expand Down

0 comments on commit 71ac226

Please sign in to comment.