aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/main.js
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-09-23 13:41:26 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2017-09-23 13:41:26 +0200
commitca7d1fdddeb5faf48014e93fac50619fa22a893d (patch)
tree44597338f6b38f6c72cfd5649d43342e54dc5afb /p/scripts/main.js
parent2fd5ab8c55e990d3ad6dacc5371dfd5f9b6bcd2e (diff)
Minor JS whitespace
Diffstat (limited to 'p/scripts/main.js')
-rw-r--r--p/scripts/main.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 117e8a598..aa2f1d58b 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -133,7 +133,7 @@ function mark_read(active, only_not_read) {
$.ajax({
type: 'POST',
url: url,
- data : {
+ data: {
ajax: true,
_csrf: context.csrf,
},
@@ -182,7 +182,7 @@ function mark_favorite(active) {
$.ajax({
type: 'POST',
url: url,
- data : {
+ data: {
ajax: true,
_csrf: context.csrf,
},
@@ -823,7 +823,7 @@ function updateFeed(feeds, feeds_count) {
$.ajax({
type: 'POST',
url: feed.url,
- data : {
+ data: {
_csrf: context.csrf,
noCommit: feeds.length > 0 ? 1 : 0,
},
@@ -860,7 +860,7 @@ function init_actualize() {
$.ajax({ //Empty request to force refresh server database cache
type: 'POST',
url: './?c=feed&a=actualize&id=-1',
- data : {
+ data: {
_csrf: context.csrf,
noCommit: 0,
},
@@ -1299,7 +1299,7 @@ function init_slider_observers() {
$.ajax({
type: 'GET',
url: url_slide,
- data : { ajax: true }
+ data: { ajax: true }
}).done(function (data) {
slider.html(data);
closer.addClass('active');