Browse Source

Minor text changes

master
Skylar Ittner 8 months ago
parent
commit
289aaeaa9f
3 changed files with 6 additions and 8 deletions
  1. 4
    5
      action.php
  2. 1
    2
      static/js/app.js
  3. 1
    1
      static/js/form.js

+ 4
- 5
action.php View File

@@ -7,7 +7,6 @@
/**
* Make things happen when buttons are pressed and forms submitted.
*/

require_once __DIR__ . "/required.php";

if ($VARS['action'] !== "signout") {
@@ -22,11 +21,11 @@ if ($VARS['action'] !== "signout") {
*/
function returnToSender($msg, $arg = "") {
global $VARS;
if ($arg == "") {
header("Location: app.php?page=" . urlencode($VARS['source']) . "&msg=" . $msg);
} else {
header("Location: app.php?page=" . urlencode($VARS['source']) . "&msg=$msg&arg=$arg");
$header = "Location: app.php?page=" . urlencode($VARS['source']) . "&msg=$msg";
if ($arg != "") {
$header .= "&arg=$arg";
}
header($header);
die();
}


+ 1
- 2
static/js/app.js View File

@@ -13,7 +13,7 @@ $(document).ready(function () {
var gone = 20;

var msgticker = setInterval(function () {
if ($('#msg-alert-box .alert:hover').length) {
if ($("#msg-alert-box .alert:hover").length) {
msginteractiontick = 0;
} else {
msginteractiontick++;
@@ -55,7 +55,6 @@ $(document).ready(function () {
$("#msg-alert-box").on("mouseenter", function () {
$("#msg-alert-box").css("opacity", "1");
msginteractiontick = 0;
console.log("👈😎👈 zoop");
});
$("#msg-alert-box").on("click", ".close", function (e) {
$("#msg-alert-box").fadeOut("slow");

+ 1
- 1
static/js/form.js View File

@@ -12,5 +12,5 @@ $("#savebtn").click(function (event) {
event.preventDefault();
event.stopPropagation();
}
form.addClass('was-validated');
form.addClass("was-validated");
});

Loading…
Cancel
Save