From 21cc95f41b8042f1b77e416bd48bec6345434c7e Mon Sep 17 00:00:00 2001 From: spaghetti Date: Sat, 29 Oct 2016 01:34:43 -0400 Subject: [PATCH] Replace inline JS gtoggles with html attributes and some global JS End goal is to remove all inline JS, starting with onclick --- design/views/generic/reply/staffpm.php | 2 +- static/styles/global.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/design/views/generic/reply/staffpm.php b/design/views/generic/reply/staffpm.php index 0d3cb5a..cd1ceef 100755 --- a/design/views/generic/reply/staffpm.php +++ b/design/views/generic/reply/staffpm.php @@ -22,6 +22,6 @@ - + diff --git a/static/styles/global.css b/static/styles/global.css index 694debd..1099425 100755 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -96,6 +96,10 @@ div.collage_image { width: 20%; } +[toggle-target] { + cursor: pointer; +} + button, input[type=button], input[type=submit] { cursor: pointer; background: #fff;