summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-20 08:07:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-20 08:07:41 +0000
commitb31d1329ca5b072e2fd01af15df6377bf1230089 (patch)
treeff0633d4c13c36d6606425533f210b895884a8cd /public
parentf7f6b7ba5bbb380855f0c446175f4b741c94d276 (diff)
downloadredmine-b31d1329ca5b072e2fd01af15df6377bf1230089.tar.gz
redmine-b31d1329ca5b072e2fd01af15df6377bf1230089.zip
use ===/!== instead of ==/!= in application.js (#13811)
Contributed by Adrian Wilkins. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11729 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 85745376c..8977df6ef 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -19,7 +19,7 @@ function toggleCheckboxesBySelector(selector) {
function showAndScrollTo(id, focus) {
$('#'+id).show();
- if (focus!=null) {
+ if (focus !== null) {
$('#'+focus).focus();
}
$('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
@@ -352,7 +352,7 @@ function setPredecessorFieldsVisibility() {
function showModal(id, width) {
var el = $('#'+id).first();
- if (el.length == 0 || el.is(':visible')) {return;}
+ if (el.length === 0 || el.is(':visible')) {return;}
var title = el.find('h3.title').text();
el.dialog({
width: width,
@@ -552,7 +552,7 @@ function setupAjaxIndicator() {
$('#ajax-indicator').bind('ajaxSend', function(event, xhr, settings) {
- if ($('.ajax-loading').length == 0 && settings.contentType != 'application/octet-stream') {
+ if ($('.ajax-loading').length === 0 && settings.contentType != 'application/octet-stream') {
$('#ajax-indicator').show();
}
});