diff options
author | Marc Delisle <marc@infomarc.info> | 2014-07-25 23:38:46 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2014-07-25 23:38:46 +0400 |
commit | f41666c0ac2049f372302703736248458e0b0df6 (patch) | |
tree | d9143e3547763c2375985676073c18863854d3c5 /js/common.js | |
parent | a321fecac0152308d37eaba989d99ad1d2392a91 (diff) |
Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'js/common.js')
-rw-r--r-- | js/common.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/common.js b/js/common.js index b4076d31c7..9e0cda4259 100644 --- a/js/common.js +++ b/js/common.js @@ -468,8 +468,8 @@ PMA_DROP_IMPORT = { * @return bool */ _hasFiles: function (event) { - if (typeof event.originalEvent.dataTransfer.types === 'undefined' - || $.inArray('Files', event.originalEvent.dataTransfer.types) < 0) { + if (typeof event.originalEvent.dataTransfer.types === 'undefined' || + $.inArray('Files', event.originalEvent.dataTransfer.types) < 0) { return false; } return true; @@ -560,7 +560,7 @@ PMA_DROP_IMPORT = { //if no database is selected -- no if (dbname !== '') { var files = event.originalEvent.dataTransfer.files; - if (files.length == 0) { + if (files.length === 0) { // No files actually transfered $(".pma_drop_handler").fadeOut(); event.stopPropagation(); |