summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/jquery-showpassword.js6
-rw-r--r--core/js/jquery-ui-fixes.js2
-rw-r--r--core/js/js.js14
-rw-r--r--core/js/oc-dialogs.js2
-rw-r--r--core/js/placeholder.js2
-rw-r--r--core/js/setup.js2
-rw-r--r--core/js/sharedialogshareelistview.js2
-rw-r--r--core/js/singleselect.js2
8 files changed, 16 insertions, 16 deletions
diff --git a/core/js/jquery-showpassword.js b/core/js/jquery-showpassword.js
index 23ddf947719..5d518c78bcb 100644
--- a/core/js/jquery-showpassword.js
+++ b/core/js/jquery-showpassword.js
@@ -17,8 +17,8 @@
showPassword: function(c) {
// Setup callback object
- var callback = {'fn':null,'args':{}}
- callback.fn = c;
+ var callback = {'fn':null,'args':{}};
+ callback.fn = c;
// Clones passwords and turn the clones into text inputs
var cloneElement = function( element ) {
@@ -90,7 +90,7 @@
});
$input.bind('keyup', function() {
- update( $input, $clone )
+ update( $input, $clone );
});
$clone.bind('keyup', function(){
diff --git a/core/js/jquery-ui-fixes.js b/core/js/jquery-ui-fixes.js
index 9ccaa38cc47..39f6d7a354e 100644
--- a/core/js/jquery-ui-fixes.js
+++ b/core/js/jquery-ui-fixes.js
@@ -5,4 +5,4 @@
jQuery.ui.autocomplete.prototype._resizeMenu = function () {
var ul = this.menu.element;
ul.outerWidth(this.element.outerWidth());
-}
+};
diff --git a/core/js/js.js b/core/js/js.js
index 407fbc8cb8e..b6086846d59 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1422,7 +1422,7 @@ function initCore() {
} else {
// Close navigation when opening app in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
@@ -1430,7 +1430,7 @@ function initCore() {
if(event.which === 2) {
// Close navigation when opening app in
// a new tab via middle click
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
@@ -1444,7 +1444,7 @@ function initCore() {
} else {
// Close navigation when opening app in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
}
@@ -1465,7 +1465,7 @@ function initCore() {
} else {
// Close navigation when opening menu entry in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
@@ -1473,7 +1473,7 @@ function initCore() {
if(event.which === 2) {
// Close navigation when opening app in
// a new tab via middle click
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
}
@@ -1884,7 +1884,7 @@ OC.Util = {
* @return {boolean} true if the browser supports SVG, false otherwise
*/
hasSVGSupport: function(){
- return true
+ return true;
},
/**
* If SVG is not supported, replaces the given icon's extension
@@ -2385,4 +2385,4 @@ jQuery.fn.tipsy = function(argument) {
jQuery.fn.tooltip.call(this, argument);
}
return this;
-}
+};
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index d37e8501fc8..5fc224e38bf 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -561,7 +561,7 @@ var OCdialogs = {
.prop('checked', true)
.prop('disabled', true);
$originalDiv.find('.message')
- .text(t('core','read-only'))
+ .text(t('core','read-only'));
}
};
//var selection = controller.getSelection(data.originalFiles);
diff --git a/core/js/placeholder.js b/core/js/placeholder.js
index 1b03a28ecca..b8075b5397f 100644
--- a/core/js/placeholder.js
+++ b/core/js/placeholder.js
@@ -71,7 +71,7 @@
}
function rgbToHsl(r, g, b) {
- r /= 255, g /= 255, b /= 255;
+ r /= 255; g /= 255; b /= 255;
var max = Math.max(r, g, b), min = Math.min(r, g, b);
var h, s, l = (max + min) / 2;
if(max === min) {
diff --git a/core/js/setup.js b/core/js/setup.js
index 3c09bb6da49..b3b2049c447 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -66,7 +66,7 @@ $(document).ready(function() {
$('.strengthify-wrapper, .tipsy')
.css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"')
.css('filter', 'alpha(opacity=30)')
- .css('opacity', .3);
+ .css('opacity', 0.3);
// Create the form
var form = $('<form>');
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index f513eb75848..d51504c3771 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -369,7 +369,7 @@
var shareType = $this.data('share-type');
$this.find('div.avatar, span.username').contactsMenu(shareWith, shareType, $this);
- })
+ });
} else {
var permissionChangeShareId = parseInt(this._renderPermissionChange, 10);
var shareWithIndex = this.model.findShareWithIndex(permissionChangeShareId);
diff --git a/core/js/singleselect.js b/core/js/singleselect.js
index 1b2016aabb9..cd0dd52651a 100644
--- a/core/js/singleselect.js
+++ b/core/js/singleselect.js
@@ -8,7 +8,7 @@
input.attr('title', inputTooltip);
}
if (typeof gravity === 'undefined') {
- gravity = 'n'
+ gravity = 'n';
}
select = $(select);
input.css('position', 'absolute');