Fix up fetching jquery.visibility
At some point the fetch-dependencies stopped working as the
visibility URL changed. Fix this up and also fix up adding the
danger class to ajax error messages
Closes-Bug: #1325076
Change-Id: I35af2fa08044f479c8f1200ba543cca908173aa8
diff --git a/etc/status/fetch-dependencies.sh b/etc/status/fetch-dependencies.sh
index 7823f29..4868310 100755
--- a/etc/status/fetch-dependencies.sh
+++ b/etc/status/fetch-dependencies.sh
@@ -6,7 +6,7 @@
curl --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js
echo "Fetching jquery-visibility.min.js..."
-curl --silent https://raw.github.com/mathiasbynens/jquery-visibility/master/jquery-visibility.min.js > $BASE_DIR/public_html/jquery-visibility.min.js
+curl --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.min.js
echo "Fetching jquery.graphite.js..."
curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip