Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: options.js

Issue 29532730: Noissue - Rebase current master tip to edge bookmark (Closed)
Patch Set: Created Aug. 31, 2017, 2:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « options.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: options.js
===================================================================
--- a/options.js
+++ b/options.js
@@ -139,7 +139,7 @@
// Display jQuery UI elements
$("#tabs").tabs();
- $("button").button();
+ $("button:not(.subscriptionRemoveButton)").button();
$(".refreshButton").button("option", "icons", {primary: "ui-icon-refresh"});
$(".addButton").button("option", "icons", {primary: "ui-icon-plus"});
$(".removeButton").button("option", "icons", {primary: "ui-icon-minus"});
@@ -327,7 +327,7 @@
return;
}
- $("#tabs").tabs("select", 0);
+ $("#tabs").tabs("option", "active", 0);
$("#addSubscriptionContainer").show();
$("#addSubscriptionButton").hide();
$("#subscriptionSelector").focus();
@@ -728,7 +728,7 @@
previous[0].classList.remove("focused");
let index = $("[href='#" + tab.id + "']").parent().index();
- $("#tabs").tabs("select", index);
+ $("#tabs").tabs("option", "active", index);
found.classList.add("focused");
}
break;
« no previous file with comments | « options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld