Skip to content

Instantly share code, notes, and snippets.

@apocalyptech
Created June 17, 2014 17:02
Show Gist options
  • Save apocalyptech/f240913c438246cca28a to your computer and use it in GitHub Desktop.
Save apocalyptech/f240913c438246cca28a to your computer and use it in GitHub Desktop.
Add very obvious Early Access highlighting in search lists, for EnhancedSteam
diff --git a/data/enhancedsteam.js b/data/enhancedsteam.js
index ab47126..886e50a 100644
--- a/data/enhancedsteam.js
+++ b/data/enhancedsteam.js
@@ -2820,6 +2820,7 @@ function check_early_access(node, image_name, image_left, selector_modifier) {
$(overlay_img).css({"left":image_left + "px"});
}
$(node).find(selector.trim()).after(overlay_img);
+ $(node).css({"background":"#800"});
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment