1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Remove support for deprecated "title" attribute on button widget

This commit is contained in:
Jermolene 2014-09-21 11:25:43 +01:00
parent d4617ffbe4
commit 62edd1e8a3

View File

@ -142,13 +142,6 @@ ButtonWidget.prototype.execute = function() {
this["class"] = this.getAttribute("class","");
this["aria-label"] = this.getAttribute("aria-label");
this.tooltip = this.getAttribute("tooltip");
// DEPRECATION WARNING
var title = this.getAttribute("title");
if(title) {
console.log("WARNING: attribute 'title' on button widget should be replaced with 'tooltip'");
this.tooltip = title;
}
this.style = this.getAttribute("style");
this.selectedClass = this.getAttribute("selectedClass");
this.defaultSetValue = this.getAttribute("default");