Skip to content

Commit

Permalink
Merge pull request #11154 from notbakaneko/feature/ts-store-legacy
Browse files Browse the repository at this point in the history
Remove store legacy script
  • Loading branch information
peppy authored Apr 11, 2024
2 parents 9aa058e + d38736b commit e1c3f5a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 43 deletions.
1 change: 0 additions & 1 deletion resources/js/entrypoints/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'jquery-pubsub.coffee';
import '_classes/timeout.coffee';

import 'spoilerbox.coffee';
import 'store-legacy.coffee';
import 'store-username-change.coffee';
import 'forum/post-box.coffee';
import 'ujs-common.coffee';
Expand Down
37 changes: 0 additions & 37 deletions resources/js/store-legacy.coffee

This file was deleted.

5 changes: 0 additions & 5 deletions resources/js/utils/store-cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ export function toggleCart(flag: boolean) {
if (button != null) {
button.disabled = !flag;
}

const form = body.querySelector<HTMLFormElement>('#product-form');
if (form != null) {
$(form).data('disabled', !flag);
}
}

0 comments on commit e1c3f5a

Please sign in to comment.