mirror of https://github.com/zulip/zulip.git
zjquery: Remove bogus after/before functions.
This commit is contained in:
parent
132e67cb28
commit
5caee967d3
|
@ -102,6 +102,8 @@ test_ui("subscriber_pills", () => {
|
|||
const subscriptions_table_selector = "#subscriptions_table";
|
||||
const input_field_stub = $.create(".input");
|
||||
|
||||
input_field_stub.before = () => {};
|
||||
|
||||
const sub_settings_selector = `#subscription_overlay .subscription_settings[data-stream-id='${CSS.escape(
|
||||
denmark.stream_id,
|
||||
)}']`;
|
||||
|
|
|
@ -537,13 +537,6 @@ function make_zjquery() {
|
|||
|
||||
zjquery.Event = Event;
|
||||
|
||||
fn.after = function (s) {
|
||||
return s;
|
||||
};
|
||||
fn.before = function (s) {
|
||||
return s;
|
||||
};
|
||||
|
||||
fn.popover = () => {
|
||||
throw new Error(`
|
||||
Do not try to test $.fn.popover code unless
|
||||
|
|
Loading…
Reference in New Issue