diff options
| author | yo momma <shutup@oops.wtf> | 2026-02-03 22:07:08 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-02-03 22:07:08 +0000 |
| commit | 5c0f41e1960d7b6f0ca5cc4795c5ab25eedca5c2 (patch) | |
| tree | e0004f2f36d3e81909b0bc5af0bf1862319dc6b0 /static/tests/space.packing/search.js | |
| parent | a5e72f0fbdedf251e90334657856f07bca725be0 (diff) | |
Hump.fm: update legacy test fixtures
Diffstat (limited to 'static/tests/space.packing/search.js')
| -rwxr-xr-x | static/tests/space.packing/search.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/static/tests/space.packing/search.js b/static/tests/space.packing/search.js index c01ff30..6f84ddd 100755 --- a/static/tests/space.packing/search.js +++ b/static/tests/space.packing/search.js @@ -29,7 +29,7 @@ function makeImageCacheWatcher(imageCache){ return function(){ imageCache.loadingImages.forEach(function(img){
if (img.complete) {
if (img.height == 0 || img.width == 0 || img.height == NaN || img.width == NaN) {
- // call server... dump.fm/cmd/thisImageIsFuckingBrokenY'all?img=foo
+ // call server... hump.fm/cmd/thisImageIsFuckingBrokenY'all?img=foo } else {
imageCache.loadedImages.push(img)
// console.log("loaded +" + img.src)
@@ -76,14 +76,14 @@ var Search = { 'imageCache': new ImageCache(),
'init': function(){
- $("#search-query").val("search dump.fm")
+ $("#search-query").val("search hump.fm") $("#search-query").focus(function(){
- if ($("#search-query").val() == 'search dump.fm')
+ if ($("#search-query").val() == 'search hump.fm') $("#search-query").val("")
})
$("#search-query").blur(function(){
if ($("#search-query").val().trim() == '')
- $("#search-query").val("search dump.fm")
+ $("#search-query").val("search hump.fm") })
$("#search-query").keydown(ifEnter(Search.doSearch))
$("#search-results-images a").live("mouseup", Search.click)
@@ -185,4 +185,4 @@ $('#content a').live('hover', function(event) { }
}
});
-
\ No newline at end of file + |
