spaacedout 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/js/utils.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1af2adcf8d4523570706aea3d894b359a052e0b60b073f022934bcc84bfa750
|
4
|
+
data.tar.gz: 9ff5a1959e905d57c716c8ab474d04f06fa492a794fd9c5744f2e8d751bb0f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02661ecf6d53bcac064ec2d39b04232a2286036c2950a83bddf172c8a1dddb201ca1d3d169aa3e06c2d191c2e4410d2dc61645fbd4b6b3faf02cf1425aa302a6
|
7
|
+
data.tar.gz: f2754ca04cec04e0985bd9bdbf7c3aff68c35ae326b6f4ae0f8d1e6b10763e4433e11067ffe1a5b0b1bfdc0c52876b62c087860265ff963341649e80d6acafa5
|
data/assets/js/utils.js
CHANGED
@@ -84,7 +84,7 @@ var SpaacedOut = (function() {
|
|
84
84
|
if (postContent.length > 0) {
|
85
85
|
var links = postContent[0].getElementsByTagName("a");
|
86
86
|
for (var link of links) {
|
87
|
-
if (link.indexOf("#") != 0) {
|
87
|
+
if (link.href.indexOf("#") != 0) {
|
88
88
|
link.setAttribute("target", "_blank");
|
89
89
|
link.setAttribute("rel", "noopener");
|
90
90
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spaacedout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Gaylord
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|