bfdotcom-theme 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b00ef2c421826048502af7533fe6d31d6f98daf8c11ee3fdba15766d05b1c958
4
- data.tar.gz: f3405bdd268b183b88929ca255381b39ce60a3b33b835a35b73a5b4926493e18
3
+ metadata.gz: 1c9a2745fbf4f168367931a426ee5c85714b4e7837f01ec62826361dfaf6466e
4
+ data.tar.gz: 83a2166c2c5744512023c58d9dd4036264f6a79cac43d42592f91c6aa37f8c5b
5
5
  SHA512:
6
- metadata.gz: 610acb9ef365f2b12dd6cebf890fa7209e3811ae7e438dfcaa9ae9d50afbea22c7faa39465be3fe5a1ea588725a752939f030b7aef727b3907b00fecb0c9d027
7
- data.tar.gz: e12760b5cad37fafd3e6290cf01e308029a5c000d58efc6894661f751ffebeeaf4b432885f1f26543d36b6b6bddf8dcb6bc327d0d16d0ff5fde3460530507093
6
+ metadata.gz: 254a14db5a291d20a322816b4d066d49163b5c5f71acea9540840d397069c64ef61f67988eb0ce4a945b3c4594526965ac9f0a6c80339c7f7344cee2eee6d406
7
+ data.tar.gz: ef1804eb6c74a0390f5bc63f8199e2dc60b1adfc00144b34f53481d5843d0a39edbfd5b748b3f4b41d07a860dd69f97e43c51226d11b35aec09b3f0c5f195fc8
@@ -19,16 +19,17 @@
19
19
  <textarea class="form-control" id="commentText" rows="3"></textarea>
20
20
  </div>
21
21
  <button type="button" class="btn btn-outline-info" id="submitButton" onclick="submitComment()">Add your comment</button>
22
+ <div class="spinner-border" role="status" id="submittingComment">
23
+ <span class="sr-only">Submitting comment...</span>
24
+ </div>
25
+ <div class="alert alert-success" role="alert" id="commentSuccess">
26
+ Your comment has been submitted - it will appear here after it has been approved.
27
+ </div>
28
+ <div class="alert alert-danger" role="alert" id="commentError">
29
+ There was an error submitting your comment, sorry!
30
+ </div>
22
31
  </div>
23
- <div class="spinner-border" role="status" id="submittingComment">
24
- <span class="sr-only">Submitting comment...</span>
25
- </div>
26
- <div class="alert alert-success" role="alert" id="commentSuccess">
27
- Your comment has been submitted - it will appear here after it has been approved.
28
- </div>
29
- <div class="alert alert-danger" role="alert" id="commentError">
30
- There was an error submitting your comment, sorry!
31
- </div>
32
+
32
33
  </div>
33
34
 
34
35
  {%- if comments_size > 0 -%}
@@ -178,7 +178,7 @@ function submitComment() {
178
178
  "authorEmail": userInfo.email,
179
179
  "postUrl": window.location.pathname,
180
180
  "comment": commentText
181
- }, additionalParams)
181
+ }, {})
182
182
  .then(function(result){
183
183
  //This is where you would put a success callback
184
184
  $('#commentSuccess').show()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bfdotcom-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Farnhill