dist/ustyle.js in ustyle-1.16.2 vs dist/ustyle.js in ustyle-1.19.2
- old
+ new
@@ -481,11 +481,11 @@
return !(tabNav.offsetWidth > 0 || tabNav.offsetHeight > 0);
};
var getSelector = function(clicked) {
- return clicked.getAttribute("data-target") || clicked.getAttribute("href");
+ if(clicked) return clicked.getAttribute("data-target") || clicked.getAttribute("href");
};
return Tabs;
})(this.Utils);
@@ -563,11 +563,5 @@
};
return ClassToggler;
})(this.Utils);
-
-window.RadioToggle = function() {
- var message = "RadioToggle is now deprecated";
- if (window.Raven) window.Raven.captureMessage(message);
- console.warn(message);
-};