Skip to content

Commit

Permalink
IE8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Apr 15, 2014
1 parent 109d439 commit c492fb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions media/jui/js/jquery.searchtools.js
@@ -1,4 +1,4 @@
;(function ($, window, document, undefined) {
(function ($, window, document, undefined) {

// Create the defaults once
var pluginName = "searchtools";
Expand Down Expand Up @@ -172,7 +172,7 @@
var self = this;

var option = $(element).find('option:selected');
if (option.val() != '') {
if (option.val() !== '') {
self.activeFilter(element);
} else {
self.deactiveFilter(element);
Expand Down Expand Up @@ -306,7 +306,7 @@
this.orderField = $('<input>').attr({
type: 'hidden',
id: 'js-stools-field-order',
class: 'js-stools-field-order',
'class': 'js-stools-field-order',
name: self.options.orderFieldName,
value: self.activeOrder + ' ' + this.activeDirection
});
Expand Down

0 comments on commit c492fb1

Please sign in to comment.