From c2bb7b362bbd020275ef1441f5fedbf662765357 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 22 Jul 2013 21:30:43 +0200 Subject: little fix for jshint --- pyload/web/app/scripts/views/dashboard/filterView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/web/app') diff --git a/pyload/web/app/scripts/views/dashboard/filterView.js b/pyload/web/app/scripts/views/dashboard/filterView.js index 736b740e1..9d8c46e4e 100644 --- a/pyload/web/app/scripts/views/dashboard/filterView.js +++ b/pyload/web/app/scripts/views/dashboard/filterView.js @@ -148,7 +148,7 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes', 'models/Pac filter_type: function(e) { var el = $(e.target); - var type = parseInt(el.data('type')); + var type = parseInt(el.data('type'), 10); // Bit is already set, so type is not visible, will become visible now if (type & this.types) { -- cgit v1.2.3