mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Fixing unused variables
This commit is contained in:
parent
559edb10a6
commit
1e954aace0
@ -119,8 +119,7 @@
|
||||
handleStatus: function (e) {
|
||||
e.preventDefault();
|
||||
var status = $(e.currentTarget).attr('data-set-status'),
|
||||
model = this.model,
|
||||
self = this;
|
||||
model = this.model;
|
||||
|
||||
if (status === 'publish-on') {
|
||||
Ghost.notifications.addItem({
|
||||
@ -158,8 +157,7 @@
|
||||
if (e) {
|
||||
e.preventDefault();
|
||||
}
|
||||
var model = this.model,
|
||||
self = this;
|
||||
var model = this.model;
|
||||
this.savePost().then(function () {
|
||||
Ghost.notifications.addItem({
|
||||
type: 'success',
|
||||
|
@ -45,8 +45,7 @@
|
||||
submitHandler: function (event) {
|
||||
event.preventDefault();
|
||||
var email = this.$el.find('.email').val(),
|
||||
password = this.$el.find('.password').val(),
|
||||
self = this;
|
||||
password = this.$el.find('.password').val();
|
||||
|
||||
$.ajax({
|
||||
url: '/ghost/login/',
|
||||
@ -80,8 +79,7 @@
|
||||
submitHandler: function (event) {
|
||||
event.preventDefault();
|
||||
var email = this.$el.find('.email').val(),
|
||||
password = this.$el.find('.password').val(),
|
||||
self = this;
|
||||
password = this.$el.find('.password').val();
|
||||
|
||||
$.ajax({
|
||||
url: '/ghost/signup/',
|
||||
|
Loading…
Reference in New Issue
Block a user